This project is a boilerplate overhead setup for the workflow of making a MERN-stack web app in a mono-repository.
Runs the ReactJS client independently
server: DEBUG=server:* npx nodemon -r dotenv/config src/index.js dotenv_config_path=.development.env
Runs the NodeJS+ExpressJS server independently in development mode
Runs both Client and Server independently
Runs the whole application in production mode, serving ReactJS built static files from build
folder inside /client
Builds production static files for the client and install its dependencies
- Add
"proxy":"http://localhost:${local_server_port}",
to the package.json file of the ReactJS client folder - Add
"homepage":".",
to the package.json file of the ReactJS client folder