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

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.

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)

[![Circle CI](https://circleci.com/gh/ngduc/react-setup.svg?style=svg)](https://circleci.com/gh/ngduc/react-setup) [![Dependencies Status](https://david-dm.org/ngduc/react-setup.svg)](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)