A React-Redux boilerplate for enterprise web applications.
This repo is the minimal and extendable setup to start a new enterprise large-scaled project based on React & Redux & RxJS.
- babel: to transpile our ES6 code ES5
- documentation.js: to generate docs
- enzyme: as our test util
- eslint: to have linting utility over our code
- jest: as our test framework
- postcss: to have autoprefixer
- react: as our framework
- react-redux: to handle data flow
- react-router: to handle routing
- react-router-redux: to handle routing
- redux: to handle data flow
- redux-observable: to handle async actions
- redux-persist: to have persistent store
- rxjs: to handle observable actions
- sass: as our style language
- webpack: as our module bundler
- Clone the project
yarn install
yarn start
- visit localhost:8080
- To run the server you need to install
http-server-spa
as a global module, or you can implement your own server and point it to the public directory. - You need to install
documentation
as a global module. - All modules used are the latest versions and are implemented according to their respective latest version docs. (as of Nov 2017)
yarn start
to start the serveryarn watch
to start watching for file changesyarn build
to make a single buildyarn prod
to make the production build (minified and uglified)yarn test
to run the testsyarn test-update
to test and update the snapshotsyarn doc
to generate the docs
To read more about this project and to get familiar with the structure and find out the logic behind it, check out the articles on Medium, Quora or LinkedIn
This project is licensed under the MIT License.