Is it possible to get the source code for the backend part of the CRM application?

Hey guys, refine is amazing, and I would really like to expand on the CRM application but in order to do that, it would be best to have a working backend to understand some of the concepts you implemented. Is it possible to get the backend of the crm app, so we can also run it manually.
5 Replies
kapa.ai
kapa.ai7mo ago
Hi @aleksamarkoni. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hmm, I don't know enough to give you a confident answer yet. The extracts provided do not contain information about accessing or running the backend of the CRM application built with refine. However, you can find more information and possibly the backend code in the refine documentation (https://refine.dev/docs) or the refine GitHub repository (https://github.com/refinedev/refine/tree/master/examples/app-crm). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai7mo ago
<@239814590400036875> kapa.ai is still learning and improving, please let us know how it did by reacting below
fascinating-indigo
fascinating-indigo7mo ago
Hello @aleksamarkoni we actually generated backend by using this library: https://doug-martin.github.io/nestjs-query/docs/introduction/getting-started
Getting Started | Nestjs-query
Nestjs-Query is collection of packages to make crud for graphql (and potentially other transports) easier.
fascinating-indigo
fascinating-indigo7mo ago
Hey @batuhanw thanks a bunch for your response, but is it possible to somehow get the actuall commands you used to generate the backend so we can mimic it :/ Sorry for troubling you, but I am still not sure if it's really possible to generate backend based only by looking on the frontend dashboard code, so my question still stands, is it possible to add this 😦
fascinating-indigo
fascinating-indigo7mo ago
You can see our entire schema from here, it's open: https://api.crm.refine.dev/graphql And basically we define all resolvers like this:
{
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,
},