This is a universal rendering using Redux and React-router, based on Redux-Realword-Example
- Run
npm start
to host dev environment
- Run
npm test
- Intro page:
{base_url}
- Question Page:
{base_url}/q/:id/:question-title
- React 0.14
- React-Router 1.0.0-rc
- universal rendering
- server side redirect
- test with mocha + chai:
$ npm test
- test with mocha + chai + karma:
$ npm run test:karma
- use rewire, sinon to mock