A Bleeding Edge React Universal Boilerplate for Power Users — with Emotion. This is a fork of our other boilerplate, Reactivity.
You will find that this boilerplate covers all the expected areas such as SEO, Hot Reloading and all the other things typically covered in a boilerplate, check out our pull requests to see what's coming up.
Whats unique about this boilerplate however is:
- Universal Rendering with Code Splitting - (thanks to react-universal-component)
- RXJS for action side effects. - (thanks to react-redux-epic)
- PWA Ready.
- No scaffolding tools.
- No Automated service worker generation, you get to write your own. - (thanks to serviceworker-webpack-plugin)
- Styled components - (thanks to emotion)
- Clone this repo using
git clone --depth=1 https://github.com/madeagency/emotional-reaction.git
- Move to the appropriate directory:
cd emotional-reaction
. - Copy the
.sample.env
to.env
and change any details as required. - Run
npm install
in order to install dependencies. - Run
npm run dev
for development mode ornpm run prod
for production mode and you will see the app running athttp://localhost:[PORT_SPECIFIED_IN_.ENV]
.
- set
ENABLE_SW
tofalse
to disable the service worker during development. - set
NODE_ENV
todevelopment
to enable hot reloading.
This will largely vary however heres a super simple overview.
- Run
npm run build
- Run either
npm run start
ornode bin/server.prod.js
to start the application.
You could also run start:prod
after step one to immediately launch the app after its been built.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- Francois - Initial work - fjlaubscher
- Dawid - Reactivity - dawidvdh
- Ross - Reactivity - rocbear
See also the list of contributors who participated in this project.
Emotional Reaction is © 2018 MADE Code PTY Ltd. It is free software, and may be redistributed under the terms specified in the LICENSE file.
Emotional Reaction was created and is maintained MADE Code PTY Ltd. The names and logos for MADE Code are trademarks of MADE Code PTY Ltd.
We love open source software. See our Github Profile for more.
We're always looking for talented people who love programming. Get in touch with us.