Redux App
Just a simple app with routing, tests and stuff to learn Redux.
Features
Here is the features I intend to have in this project
- [x] Configure a webpack development build
- [x] Create a simple redux app
- [x] Add some styles
- [x] Add routing and history
- [x] Add async calls to API
- [x] Use Reactive Functionnal Programming paradigm
- [x] Add unit tests on actions, reducers and components
- [x] Add automated continuous integration
- [x] Add Redux Dev Tools
- [x] Add Linter
- [x] Write and Generate Documentation
- [x] Add (fake) authentication
- [ ] Add and use complex forms
- [ ] Add e2e tests on application
- [ ] Mock/Stub calls to API
- [ ] Create production ready build in Yarn scripts
- [ ] Make some data persistent (LocalStorage / SessionStorage)
What's in
Build
Libraries
- React
- React-redux
- React-router
- React-router-redux
- Redux
- Redux-auth-wrapper
- RxJS
- Redux-observable
- History
Style
Tests
Documentation and quality
Yarn scripts
Setup the app
git clone https://github.com/Freezystem/redux-app.git
cd redux-app && yarn
Run development app
First add this line to /etc/hosts
on Unix systems or C:\Windows\System32\drivers\etc
on Windows.
127.0.0.1 redux.app.io
Then just run
yarn run dev
Build production app
yarn run build
or for a clean install
yarn run build:clean
Run tests
yarn test
or with watch option
yarn run test:watch
Generate Documentation
yarn run doc