Can we create nextjs app with nhost as dataprovider and refine

d
4 Replies
kapa.ai
kapa.ai2y ago
Hey @gayasuddin93! I'm the kapa.ai support bot. I've searched through the docs to try to answer your question. :wave:
kapa.ai
kapa.ai2y ago
---------------------- Yes, you can create a Next.js app with Nhost as the data provider and Refine. To do this, you will need to install the refine-simple-rest (https://github.com/refinedev/refine/tree/master/packages/simple-rest) data provider, import it into the _app.tsx file, and add it to the refine component with the Nhost API endpoint passed to it. You can find an example of how to do this in the refine-simple-rest (https://github.com/refinedev/refine/tree/master/examples/data-provider-nhost) data provider documentation. ----------------------
GitHub
refine/packages/simple-rest at master · refinedev/refine
Build your React-based CRUD applications, without constraints. - refine/packages/simple-rest at master · refinedev/refine
GitHub
refine/examples/data-provider-nhost at master · refinedev/refine
Build your React-based CRUD applications, without constraints. - refine/examples/data-provider-nhost at master · refinedev/refine
kapa.ai
kapa.ai2y ago
<@1022392392877346906> kapa.ai is still learning and improving, please let us how it did by reacting below
eager-peach
eager-peach2y ago
yes you can. data providers not releated to any react framework(nextjs, remix).