Next.js server instead of express.js

I’m learning Next.js and I’m making an example signup and login page with next-auth and mongoDB, I’m struggling with that, I think doing it with express.js, so my question is to decide which technology is more suitable. Express Server or Next.js?

  • are you using “expressjs” or “nextjs”? i cant tell!!
  • they both have their merits, but nextjs is a framework for “fullstack” and “expressjs” for “server side” only
  • they both are, when used accordingly
  • nextjs has more configuration upfront to make it work with less code than in expressjs
  • i would say look into nextjs and next auth “docs” they are very helpful

happy coding :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.