react-redux-bootstrap-webpack-starter

React + React-Router + Redux + Bootstrap + Hot Reload + redux-devtools STARTER

Full ES2015+ React + React-Router + Redux + Bootstrap with Hot Reload and redux-devtools STARTER

license Build Status Coverage Status

full ES2015+

My best React + redux project starter.

  • webpack is as simple as possible
  • ReactJS is written with optimization tricks (stateless, pure render…).
  • pure front-end = server independant (use whatever you want as server: NodeJS, Rails, .NET…)

Concept behind: same as react-bootstrap-webpack-starter but added Redux and amazing and helpful redux-devtools.

Breaking changes since v2.0.0

redux-devtools is now replaced by redux-devtools-extension.

Detailed Content

Front: - React JS (15.x - github :link:) - Redux (as you application grows managing state will be a serious concern, save pain with Redux) - React-Redux (Redux is not specific to ReactJS, you could easily use it with Angular2 for instance) - redux-devtools-extension (github :link:) - React-Router-Redux (previously named react-simple-router) - react-router (2.x- github :link:) - Bootstrap (3.x - github :link:) - React-Bootstrap (github :link:) - font-awesome (github :link:) - animate.css (github :link:) - classnames (github :link:) - react-motion (github :link:) - Webpack (github :link:) - babel 6+ (github :link:) - react-addons-shallow-compare (pure render mixin equivalent for ES6) - whatwg-fetch (Why: because it is a fetch Web API polyfill)

Tool chain: - babel 6+ - eslint - hot reload - loaders - js / jsx - sass - css - json - images formats - svg and fonts formats - autoprefixer (css and sass)

tests: - Mocha - Chai (+ dirty-chai) - enzyme - Sinon - nyc

Usage

Install

npm install

bundle dev mode (+ redux-devtools)

General case:

npm run dev

Windows - particular - case:

npm run dev-win

dev : hot reload mode (+ redux-devtools)

General case:

npm run start

Windows - particular - case:

npm run start-win

tests

General case:

npm run test

Windows - particular - case:

npm run test-win

bundle production mode

General case:

npm run prod

Windows - particular - case:

npm run prod-win

License

The MIT License (MIT)

Copyright © 2016 Erwan DATIN

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Related Repositories

react-redux-bootstrap-webpack-starter

react-redux-bootstrap-webpack-starter

React + React-Router + Redux + Bootstrap + Hot Reload + redux-devtools STARTER ...

react-redux-graphql-apollo-bootstrap-webpack-starter

react-redux-graphql-apollo-bootstrap-webpack-starter

react js + redux + graphQL + Apollo + react router + hot reload + devTools + bootstrap + webpack starter ...

react-redux-universal-hot-example

react-redux-universal-hot-example

A starter boilerplate for a universal webapp using express, react, redux, webpack, and react-hot-loader, react-intl, react-bootstrap, redux-form ...

react-redux-immutable-webpack-starter

react-redux-immutable-webpack-starter

React + Redux + Immutable + React Router + Bootstrap + Webpack-starter ...

react-starter

react-starter

A starter repo for React apps using Webpack with support for Redux, Bootstrap 3, FontAwesome, and SASS. Example: ...