Next.js Discord

Discord Forum

Trying to separate front end NextJS and backend ExpressJS

Unanswered
Birman posted this in #help-forum
Open in Discord
BirmanOP
I’ve been building applications with the PERN stack using create-react-app and has the convenience of separating the client and the server and using docker-compose to run the client and server services. The new way using NextJS seems very complicated to do the same thing. I want to use ExpressJS for the server and NextJS for the client. How do I do the same thing and separate the client and the server into 2 separate directories like I did with create-react-app? I’m also using TypeScript and esm modules.

0 Replies