What is the backend that runs the server side of NextJS?
This seems like a silly question, but I can't find the answer anywhere. Is the server side of a NextJS app running ExpressJS or something like that when running locally or deployed to Vercel ?
I am trying to make the case for using the T3 stack for our next project, but our CTO is against ExpressJS. We run everything in docker images with NGINX, Frontend (react or soon nextjs), Sanic Web server (Python) all in a kubernates cluster. My goal is to simplify the stack and reduce the AWS expenses.
3 Replies
i think next built over http, but the trpc server for next is built over express
Next has Express as a dev dependency, but afaik next itself is it's own server
AFAIK
next start
uses the native node:http
module: https://github.com/vercel/next.js/blob/canary/packages/next/src/server/lib/start-server.ts#L26GitHub
next.js/start-server.ts at canary · vercel/next.js
The React Framework. Contribute to vercel/next.js development by creating an account on GitHub.