DEV Community

Discussion on: Is it a good idea to build backend with nextJS?

Collapse
 
bsantosh909 profile image
Santosh Bhandari • Edited

Ideally it's best to have a dedicated API server.

However if you are working some something basic, then it's not wrong to have API in NextJS itself as well.
But as far as possible, always have dedicated API server/code.

Collapse
 
mozammelh profile image
Mozammel Haque

Thanks for the Advise, I think I will go with the separate server now.