https://github.com/han0110/boilerplate
Boilerplate - React・Redux・Flow・Webpack
https://github.com/han0110/boilerplate
boilerplate flow koa react redux scss webpack
Last synced: 2 months ago
JSON representation
Boilerplate - React・Redux・Flow・Webpack
- Host: GitHub
- URL: https://github.com/han0110/boilerplate
- Owner: han0110
- Created: 2017-11-24T18:04:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-28T02:42:16.000Z (over 8 years ago)
- Last Synced: 2025-03-25T19:52:18.967Z (about 1 year ago)
- Topics: boilerplate, flow, koa, react, redux, scss, webpack
- Language: JavaScript
- Homepage:
- Size: 263 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Boilerplate · [](http://makeapullrequest.com)
This boilerplate is built with React/Redux by Webpack + Koa
## 0. Table of Contents
- [Getting Started](#1-getting-started)
- [Running the tests](#2-running-the-tests)
- [Built With](#3-built-with)
## 1. Getting Started
### 1.1 Prerequisites
Koa requires **node v7.6.0** or higher for ES2015 and async function support.
### 1.2 Installing
```
git clone https://github.com/han0110/boilerplate && cd boilerplate
npm install
```
To build frontend
```
npm run build
```
To start server
```
npm run start
```
Then server will start at port 3000
## 2. Running the tests
### 2.1 style linting
- Lintint
```
npm run lint-styles
```
- Autofix
```
npm run lint-styles-fix
```
### 2.2 flow checking
- Checking
```
npm run flow
```
- Build flow-typed node-modules
```
npm run flow-typed
```
## 3. Built With
* [React/Redux](https://redux.js.org/) - Framework for frontend
* [Webpack](https://webpack.js.org/) - Modules ➔ Static assets
* [Flow](https://flow.org/en/) - Static type checker
* [CSS-Module](https://github.com/css-modules/css-modules) - CSS modulization
* [Koa](http://koajs.com/) - Framework for backend