Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prashaantt/hapi-react-transform-boilerplate
React Transform Boilerplate setup for hapi
https://github.com/prashaantt/hapi-react-transform-boilerplate
Last synced: about 7 hours ago
JSON representation
React Transform Boilerplate setup for hapi
- Host: GitHub
- URL: https://github.com/prashaantt/hapi-react-transform-boilerplate
- Owner: prashaantt
- License: mit
- Created: 2016-01-20T13:05:31.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-27T12:22:15.000Z (about 9 years ago)
- Last Synced: 2023-03-30T04:52:42.264Z (almost 2 years ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hapi React Transform Boilerplate
A hapi starter kit for React based on the [react-transform-boilerplate](https://github.com/gaearon/react-transform-boilerplate) for hot module replacement (HMR) in development, and with a useful project structure for production. Uses [hapi-redux-router](https://github.com/prashaantt/hapi-redux-router) to provide isomorphic routing to components that manage state using a Redux store.
[![Dependency Status](https://david-dm.org/prashaantt/hapi-react-transform-boilerplate.svg)](https://david-dm.org/prashaantt/hapi-react-transform-boilerplate)
[![devDependency Status](https://david-dm.org/prashaantt/hapi-react-transform-boilerplate/dev-status.svg?theme=shields.io)](https://david-dm.org/prashaantt/hapi-react-transform-boilerplate#info=devDependencies)## Usage
```bash
git clone https://github.com/prashaantt/hapi-react-transform-boilerplate.git
cd hapi-react-transform-boilerplate
npm install
npm startopen http://localhost:3000
```HMR will happen for any edits in the React components (```src/screens```).
To simulate production mode with isomorphic routing:
```bash
npm run productionopen http://localhost:8080
```HMR is not available in production.
## License
MIT