An open API service indexing awesome lists of open source software.

https://github.com/a-tarasyuk/rr-boilerplate

A lightweight React&Redux boilerplate
https://github.com/a-tarasyuk/rr-boilerplate

babel7 css-modules hot-module-replacement jest react react-redux-boilerplate react-router-v4 react16 redux webpack4

Last synced: about 1 month ago
JSON representation

A lightweight React&Redux boilerplate

Awesome Lists containing this project

README

        

# React&Redux boilerplate

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/a-tarasyuk/rr-boilerplate/blob/master/LICENSE)
> Lightweight React&Redux boilerplate

### Getting started
1. Clone this repository using `git clone --depth=1 https://github.com/a-tarasyuk/rr-boilerplate.git `
2. Enter to your project `cd `
3. Run `npm i` to install the dependencies
4. Run `npm start` to start the local web server
5. Go to `http://localhost:9999`

### Libraries/Tools
- [React](https://facebook.github.io/react)
- [Redux](https://github.com/rackt/redux)
- [React Router Dom](https://github.com/ReactTraining/react-router/tree/master/packages/react-router-dom)
- [Webpack](https://webpack.github.io)
- [Babel](https://babeljs.io)
- [CSS-Modules](https://github.com/css-modules/css-modules)
- [HMR](https://webpack.js.org/concepts/hot-module-replacement/)
- [Jest](https://jestjs.io/)

### NPM tasks
- `npm start` - starts local web server
- `npm test` - runs tests
- `npm run start:prod`- starts production build and run the local web server
- `npm run build` - starts production build *(puts result to `build` folder)*