Next.js Discord

Discord Forum

Next.js Backend Confusion

Unanswered
The King posted this in #help-forum
Open in Discord
I am getting confused in terms of what backend I should be using for next.js. Should I use Nest.js? Express? Trpc? Or should I just use the intergrated server functions?

4 Replies

Asian black bear
Next is a full-stack framework and provides almost all the capabilities you'd need. You don't have to integrate an external backend at all if there is no good reason for it.
Asian black bear
Since that requires websockets you need a separate backend or service for the WS features. Depending on what you want to use it can be just a small WS server that clients and your Next server can communicate with.