genetic-orange
genetic-orange11mo ago

CRM-App implementation

I am having difficulties implementation the CRM-APP Example. It's working fine with the default refine api that was in the example, but now i've setup a database and want to re-direct the app too look into the values in that database. I've setup an Apollo server with GraphQL and i can make requests and return values, but it does not seems to go over to my website, i keep getting network errors, and i don't know how to debug this.
2 Replies
kapa.ai
kapa.ai11mo ago
Hi @Konungariket Sverige. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I'm sorry to hear that you're having difficulties implementing the CRM app example with your own database. Based on the information provided in the extracts, here are a few suggestions: 1. Check your Apollo Server and GraphQL setup: Ensure that your Apollo Server is correctly set up and that your GraphQL schema matches the data structure expected by the CRM app. You can refer to the public schema of the CRM app at <https://api.crm.refine.dev/graphql> (https://api.crm.refine.dev/graphql) for comparison. 2. Update the data provider: The CRM app uses GraphQL as its data provider. If you've set up your own Apollo Server with GraphQL, you'll need to update the data provider in the CRM app to point to your new server. 3. Debug Network Errors: Network errors could be due to a variety of reasons. It could be that your server is not running, your server URL is incorrect, or there could be CORS issues. Check your browser's console log for any error messages that could give you more information about the issue. 4. Use the Nest.js Query package: The CRM app's backend uses the Nest.js Query package. If you're not already using this, it might be worth looking into. You can find more information about it here (https://doug-martin.github.io/nestjs-query/). 5. Reach out to the Refine Community: If you're still having issues, you might want to reach out to the Refine community on Discord (https://discord.com/channels/837692625737613362/1195933792368611359) or GitHub (https://github.com/refinedev/refine). They might be able to provide more specific help based on your exact issue. Remember, debugging is a process of elimination. Try to isolate the issue by testing each part of your setup independently. I hope this helps, and good luck with your project! ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai11mo ago
<@309676512054083584> kapa.ai is still learning and improving, please let us know how it did by reacting below

Did you find this page helpful?