A bootstrap for a react/redux/node/express app
The file app.json is intended as a machine config and so is not included in the git repo. Copy the file app-dev.json to app.json and edit to suite.
Run npm install to fetch the dependencies
npm installThis scaffold uses webpack to bundle the client app into the public folder. Run the following command to build:
npm run buildTo run in development mode, execute the following two commands (in two separate terminals):
# run the client webpack-dev-server
npm run dev-client# run the server
npm run dev-serverThe Node server proxies the client traffic to the client server.
To run in production mode (serving the client from the public folder)
npm start