I’m trying to Deploy my React + Express at the same time.
In Dev mode, without Cors, i could develop with below proxy configure
//package.json //React(3000) => Express(8080) "proxy": "http://localhost:8080",
But to deploy production, when i used
npm run build and
serve -s build, React is working but i can’t get how to use the Express part.
npm run buildcommand only for Frontend ?
- If so, how do we deploy express part?