complex-teal
complex-tealβ€’3w ago

refine crm template

Hi guys! I tried to play around with the template, instead of using the refine backend. I wanted to create my own. But i feel like the schema is too long to create my own graphql backend to work with the schema provided. Is this feasible? Im new to graphql btw
2 Replies
kapa.ai
kapa.aiβ€’3w ago
Hi @darkshade250. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hi there! It's great to hear that you're exploring the Refine CRM template and considering creating your own backend. While it can be a bit challenging to set up your own GraphQL backend, especially if you're new to GraphQL, it is definitely feasible. Here are a few steps and resources that might help you get started: 1. Explore the Existing Schema: You can explore the existing schema used by the Refine CRM template by visiting the public GraphQL endpoint: <https://api.crm.refine.dev/graphql> (https://api.crm.refine.dev/graphql). This will give you an idea of the types, queries, and mutations you need to implement. 2. Backend Technologies: The Refine CRM backend uses Nest.js along with the Nest.js Query package. You can find more details about the backend configuration here: Nest.js Query Backend Configuration (https://refine.dev/docs/data/packages/nestjs-query/#backend-configuration). 3. Example Code: While the exact backend code for the CRM app is not publicly available, you can refer to the Nest.js Query documentation for examples on how to set up your own backend: Nest.js Query Documentation (https://doug-martin.github.io/nestjs-query/). 4. Community Support: If you have specific questions or run into issues, the Refine community is very active and helpful. You can join the Discord channel and ask for advice or tips from other community members and the support staff. 5. Switching Data Providers: If you want to switch from GraphQL to REST API or another backend, you can create a new data provider based on your own backend. The Refine framework is flexible and allows you to integrate with different types of backends. Here is a snippet from a Discord support thread that might be relevant:
**Trusted Support Staff 3**: Hey Community Member 29, thank you for your interest in Refine, hope you're having fun playing around with it πŸ˜… Currently we've not published our backend for the CRM app anywhere but I think Community Member 30 can give you couple of implementation tips to go with it. We're using Nest.js + Nest.js Query with very little customization on top.
**Trusted Support Staff 3**: Hey Community Member 29, thank you for your interest in Refine, hope you're having fun playing around with it πŸ˜… Currently we've not published our backend for the CRM app anywhere but I think Community Member 30 can give you couple of implementation tips to go with it. We're using Nest.js + Nest.js Query with very little customization on top.
(Source: Discord support thread: source code for the backend of the CRM example? (https://discord.com/channels/837692625737613362/1195933792368611359)) If you need more detailed guidance, you might want to check out the Refine documentation (https://refine.dev/docs) or ask for specific help on the Refine GitHub issues page (https://github.com/refinedev/refine/issues). Good luck with your project, and don't hesitate to reach out if you need more help! ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.aiβ€’3w ago
<@457601200695803916> kapa.ai is still learning and improving, please let us know how it did by reacting below