https://github.com/ngduc/react-setup
A Universal React Setup with i18n: Babel 6, Koa 2, React, React Router, React Transmit, React Bootstrap, React-intl, Mocha, Isparta, Webpack 2, Storybook, InlineCSS/PostCSS, ESLint, HTTPS & HTTP2.
https://github.com/ngduc/react-setup
Last synced: 9 months ago
JSON representation
A Universal React Setup with i18n: Babel 6, Koa 2, React, React Router, React Transmit, React Bootstrap, React-intl, Mocha, Isparta, Webpack 2, Storybook, InlineCSS/PostCSS, ESLint, HTTPS & HTTP2.
- Host: GitHub
- URL: https://github.com/ngduc/react-setup
- Owner: ngduc
- License: mit
- Created: 2015-12-19T01:32:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-02-11T08:43:06.000Z (over 9 years ago)
- Last Synced: 2025-08-01T15:38:06.453Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.07 MB
- Stars: 174
- Watchers: 13
- Forks: 13
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# React-Setup
**A Universal React Setup with i18n: Babel 6, Koa 2, React, React Router, React Transmit, React Bootstrap, React-intl, Mocha, Isparta, Webpack 2, Storybook, InlineCSS/PostCSS, ESLint, HTTPS & HTTP2.**
I prefer to keep this setup trim but feel free to sprinkle some more pixie dust (Redux, MobX, Passport, etc.) to bake your project :)
[Live Demo](http://45.56.126.43:8100/home)
[](https://circleci.com/gh/ngduc/react-setup) [](https://david-dm.org/ngduc/react-setup)

## More Features
* I18n with [React-Intl](https://github.com/yahoo/react-intl)
* Babel ES2015 (ES6/ES7)
* Server rendering with [React Transmit](https://github.com/RickWong/react-transmit) (inspired by Facebook Relay)
* Inline CSS or PostCSS: your choice :)
* Code coverage with [Isparta](https://github.com/douglasduteil/isparta)
* Debug ES6 code with Webpack 2
* ESLint ES6 configuration
* Style guide: [JS Standard Style](docs/style-guide.md)
* Docker - build & launch your project - [Instructions](docs/docker.md)
* Development: HMR (Hot Module Replacement) for both client & server
* [Storybook](https://github.com/storybooks/react-storybook) - list your components with HMR
* HTTPS & HTTP2 for faster requests
* Production ready
* Miscellaneous features: yarn, react-router-transition, react-jsonschema-form, pre-git, bunyan, mustache, GA tracking code, etc.
## Documentation
* [Style Guide](docs/style-guide.md) - JS Standard, JSDocs
* [Internationalization (i18n)](docs/i18n.md)
* [Dependencies Notes](docs/dependencies.md)
* [Https and Http2](docs/https-http2.md)
* [Docker files](docs/docker.md)
## Questions & Issues
* File an [Issue](https://github.com/ngduc/react-setup/issues)
* Join the [Chat room](https://gitter.im/ngduc/react-setup?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
## Usage
**Install**
```
$ npm install -g babel-cli
$ npm install
OR
$ yarn
```
**Start DEV mode with Hot-Module-Replacement**
```
$ npm run dev
```
**Run tests**
```
$ npm test
$ npm run test-cov
```
**Build & Start PRODUCTION**
```
$ npm run build && npm start
```
## Contributing
PR, Stars ✭ and Issue Reporting are always welcome :)
Follow [CONTRIBUTING.md](CONTRIBUTING.md)