generator-react-redux-simple
This is a simple yeoman generator of a single page application using React, Redux, and Koa.
Installation
NodeJS 4+ required
npm install -g yonpm install -g generator-react-redux-simple
Build It
mkdir my-applicationcd my-applicationyo react-redux-simple
Run It
Step 1
The following command will run webpack-dev-server on port 8080 with a proxy to port 8000.
npm start
Step 2
Navigate to http://localhost:8080 in your browser.
Compiling
When you are ready to compile and run directly off the server without webpack-dev-server, just do the following.
Step 1
npm run buildnode index.js
Step 2
Navigate to http://localhost:8000 in your browser.
License
MIT © Josh Newman