https://github.com/lenmorld/react_workshop/raw/master/React%20workshop.pdf
$ npm checkout dev # to follow workshop
or
$ npm checkout master # to see latest working code
$ npm install
$ npm run dev
Go to localhost:4001
webpack-dev-server
for React runs on 4001, which enables hot-reloading
backend node server runs on 4000
$ npm run build
$ npm start
Go to <server_name>:4000
builds
bundle.js
for production
backend node server runs on 4000