DEV Community

Discussion on: Whats your opinion on NestJS over Express?

insuusvenerati profile image

As far as NestJS goes, it's very easy to use it for serverless since they have Standalone applications.

As far as switching goes, most of the time I did it in the framework itself. NextJS offers the ability to create API routes that run as serverless functions but only if you deploy the app on the Vercel platform. Gatsby does the same thing now. You can incrementally migrate to serverless pretty easily depending on the complexity of your API and the size of your team. For me, it was pretty easy since my apps are simple and I have a lot of DevOps experience.