https://github.com/technikhil314/redux-sample-app
https://github.com/technikhil314/redux-sample-app
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/technikhil314/redux-sample-app
- Owner: technikhil314
- Created: 2018-06-15T06:17:14.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-15T06:22:26.000Z (about 8 years ago)
- Last Synced: 2025-06-24T15:05:48.824Z (about 1 year ago)
- Language: JavaScript
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-redux-sample app
A sample application with react, redux, jest and webpack.
## Contains:
* Sync Redux action example
* Async Redux action example (using Redux Loop)
* React Router - for handling routes
* Webpack dev and production config
* ES6 - 7 Support with Babel
* HMR - Hot module replacement support
* Sass support
* Jest - unit testing framework
* Enzyme - Testing react components
## Getting Started
**1. Clone the repository and ```cd react-redux-sample-app```**
**2. Install all of the dependencies:**
```npm install```
**3. Run the app:**
```npm run start```
**4. Build production files:**
```npm run build```
Building app in the "dist" directory. Contains the index.html with the minified assets (js, css), it's ready for production!.
## Run tests
```npm run test```
This command will run tests and create a Coverage report "coverage/lcov-report/index.html"
## Run tests --watch
Watch files for changes and rerun tests related to changed files.
```npm run test-watch```