Skip to content

bvc/redux-easy-boilerplate

 
 

Repository files navigation

Redux Easy Universal Boilerplate

bitHound Overall Score


About

Really easy react universal boilerplate with many commentaries

Doesn't have redux-form and bootstrap (you can add if needed)

How it works

See commentaries in code

Installation

Install rimraf: $ npm install rimraf -g
Install nodemon: $ npm install nodemon -g
Install concurrently: $ npm install -g concurrently

Start development

$ npm run api

$ npm run start

after: open 'http://localhost:3000' in browser

hint: use this mode for development

Start development (server-side-rendering)

$ npm run api

$ npm run start-ssr

after: open 'http://localhost:3000' in browser

hint: use this mode for test server-side-rendering before build.
doesn't have hot reload, but you can mannualy refresh page in browser.

Start production

$ npm run build

$ npm run api:prod

$ npm run start:prod

after: open 'http://localhost' in browser

hint: use this mode for production on server (without server-side-rendering)

Start production (server-side-rendering)

$ npm run build

$ npm run api:prod

$ npm run start-ssr:prod

after: open 'http://localhost' in browser

hint: use this mode for production on server

Run tests

$ npm run test

How to add immutable-js?

See branch: with_immutable

License

MIT

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.2%
  • CSS 1.8%