4 ms·
You can get pretty far with Next API routes as a replacement for a seperate Express backend. https://nextjs.org/docs/api-routes/introduction https://nextjs.org
by siquick 4y ago
You can get pretty far with Next API routes as a replacement for a seperate Express backend.
https://nextjs.org/docs/api-routes/introduction https://nextjs.org/docs/api-routes/introduction
- edgyquant 4y agoI’ve been using this and deploying straight to vercel (where they run as serverless functions.) Took some obscure googling to get things like sequelize to work, not overall it seems to work pretty great. However I would like to be able to control the resources (e.g. adding more cpu etc) and haven’t yet found a way to do so.
- leerob 4y agoYou can configure some knobs, like `memory` and `maxDuration`: https://vercel.com/docs/concepts/projects/project-configuration#functions:~:text=including%20its%20version.-,memory,).,-maxDuration https://vercel.com/docs/concepts/projects/project-configurat...