inland-turquoise
inland-turquoise10mo ago

Can the backend code & the DB structure for the CRM template available be made available too?

I need to modify the CRM template, would be great if the backend code was made accessible too!
2 Replies
kapa.ai
kapa.ai10mo ago
Hi @highondefi. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- The backend code for the CRM template is not publicly available. However, the backend for the CRM app was generated using the nestjs-query (https://doug-martin.github.io/nestjs-query/docs/introduction/getting-started) library. You can explore the schema at <https://api.crm.refine.dev/graphql> (https://api.crm.refine.dev/graphql). The resolvers are defined in the following way:
{
pagingStrategy: PagingStrategies.OFFSET,
enableTotalCount: true,
EntityClass: CompanyEntity,
DTOClass: CompanyModel,
CreateDTOClass: CompanyCreateInput,
UpdateDTOClass: CompanyUpdateInput,
enableSubscriptions: true,
enableAggregate: true,
}
{
pagingStrategy: PagingStrategies.OFFSET,
enableTotalCount: true,
EntityClass: CompanyEntity,
DTOClass: CompanyModel,
CreateDTOClass: CompanyCreateInput,
UpdateDTOClass: CompanyUpdateInput,
enableSubscriptions: true,
enableAggregate: true,
}
You can find more details about the backend configuration in the nestjs-query section of the refine documentation (https://refine.dev/docs/data/packages/nestjs-query/#backend-configuration). As for the database design, it seems the team is considering providing some documentation and designs about the backend, but there's no concrete information available at the moment. Sources: - Discord support thread: Is it possible to get the source code for the backend part of the CRM application? > Answers (https://discord.com/channels/837692625737613362/1172870715482054797) - Discord support thread: source code for the backend of the CRM example? > Answers (https://discord.com/channels/837692625737613362/1195933792368611359) - Discord support thread: Where can I find the Api for app-crm example? > Answers (https://discord.com/channels/837692625737613362/1187277183983558757) - Discord support thread: NestJs Data Providers Backend Example > Answers (https://discord.com/channels/837692625737613362/1160375749660913706) ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai10mo ago
<@766681574413828136> kapa.ai is still learning and improving, please let us know how it did by reacting below