flat-fuchsia
flat-fuchsia2w ago

Database

Can i connect a SQL Database for my comanies?
2 Replies
kapa.ai
kapa.ai2w ago
Hi @Yasin1012. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Yes, you can connect a SQL database to your application. Refine supports integration with various SQL databases through different tools and providers. For instance, you can use Directus (https://refine.dev/blog/headless-cms/#directus), which is a headless CMS that can connect to any SQL database and provides a real-time GraphQL + REST API. This allows you to manage your data efficiently. Additionally, if you are using Hasura, it primarily supports PostgreSQL databases and can expose your data via a GraphQL API. You can also create REST API endpoints from GraphQL queries and mutations with Hasura. More details can be found here (https://refine.dev/blog/best-headless-cms/#hasura). If you are looking for a backend solution, you might consider using the nestjs-query package, which is used in the CRM example provided by Refine for generating a GraphQL backend. This can be particularly useful if your dataset is in PostgreSQL, as mentioned in a Discord support thread (https://discord.com/channels/837692625737613362/1265369988785504306). For more detailed guidance, you can refer to the Refine documentation (https://refine.dev/docs/). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai2w ago
<@866038216879374378> kapa.ai is still learning and improving, please let us know how it did by reacting below