DEV Community 👩‍💻👨‍💻

Discussion on: A road to the easiest user authentication system for Node.js

Collapse
 
chaostheory profile image
Brian Lee • Edited on

Question: why did you use NestJS with NextJS? Isn't this all possible leaving out NestJS since NextJS has routing? I know NestJS, but I'm very new to NextJS.

Collapse
 
saltyshiomix profile image
Shiono Yoshihide Author

Next.js is a react framework that provides SSR(Server Side Rendering) easily.
So if you want to use react with better SEO, Next.js is one of the best choices.

Nest is just a server framework, so it doesn't care about client side.

Generally way, web services have two repositories: server repo and client one.
But I think it's complex enough to learn or test simple web stack :)