Next.js Discord

Discord Forum

Is it best practice to set up a separate NodeJS backend server, instead of using Next directly?

Unanswered
Blood cockle posted this in #help-forum
Open in Discord
Blood cockleOP
someone said this was a more scalable, and better architecture to use, especially for running a busy api.

3 Replies

@Blood cockle someone said this was a more scalable, and better architecture to use, especially for running a busy api.
It's a personal decision or it depends on you type of project.

If you want or need a backend outside fo the next.js environment you would just need to setup a rewriter.
check the doc