3 ms·
> Next.js APIs can reasonable handle (heavy DB migrations required, an admin panel, etc), You can reasonably handle those in next.js as well! For backend, I u
by randomchars 6y ago
> Next.js APIs can reasonable handle (heavy DB migrations required, an admin panel, etc),
You can reasonably handle those in next.js as well!
For backend, I use hasura: https://hasura.io/opensource/ https://hasura.io/opensource/
It's a GraphQL backend, that wraps a postgresql database, and handles the heavy lifting. GraphQL is very easy to work with in the javascript/typescript ecosystem.
For admin UI, they're very easy to build with react-admin: https://github.com/marmelab/react-admin https://github.com/marmelab/react-admin
Wrapping them inside next.js is actually doable too, if that's a requirement (or it can be it's own react app, and you can share components between them).