A minimal template for working with React.js on an Express.js server using Webpack with Babel 6 (Tested with Node v5.1.1)
git clone https://github.com/RGRjs/express-webpack-template.git rgrjs
cd rgrjs
npm install
npm install -g webpack nodemon
- Run a webpack watcher in one terminal:
webpack -w -d
- Run a nodemon process in another terminal:
nodemon
- Go to http://localhost:3000, you should see a "Hello React" line.