[Fixed] Do I have to use express in Next.js project?

Issue

I’m making a web site via Next.js.
Next.js provides SSR and dynamic routing.

  • Do I have to use express?
  • If so, why do I have to use it?
  • What kind of features of express are useful that are not provided from Next.js?

I think next build & next start shows pages as well as I expected.

Solution

You do not need to use express, Next JS already has its own built-in server. However since express is popular, it is easier for developers to communicate with databases or handle other backend work.

Leave a Reply

(*) Required, Your email will not be published