generator-react-redux-simple

Yeoman generator for a simple React/Redux application using Koa as the server


Keywords
yeoman-generator
License
MIT
Install
npm install generator-react-redux-simple@1.0.4

Documentation

generator-react-redux-simple

npm version Build Status

This is a simple yeoman generator of a single page application using React, Redux, and Koa.

Installation

NodeJS 4+ required

npm install -g yo
npm install -g generator-react-redux-simple

Build It

mkdir my-application
cd my-application
yo 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 build
node index.js

Step 2

Navigate to http://localhost:8000 in your browser.

License

MIT © Josh Newman