Boilerplate for using a React front end, Node/Express on the backend, and Webpack with Babel for bundling.
You will need to run npm install -g webpack
if you haven't before.
To run the app, npm run build-dev
, then npm run start-server
. Next, navigate to http://localhost:8080/
.
start-server
: runs the node server
build-dev
: one-time build for development
build-prod
: one-time build for production
watch-client
: watches the client files