Hacker News new | past | comments | ask | show | jobs | submit login

You can get pretty far with Next API routes as a replacement for a seperate Express backend.

https://nextjs.org/docs/api-routes/introduction




I’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.


You can configure some knobs, like `memory` and `maxDuration`: https://vercel.com/docs/concepts/projects/project-configurat...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: