Skip to content

earnubs/react-hot-loader-starter-kit

Repository files navigation

Universal React/Redux Starter Kit with Hot Reloading

Install the project deps:

npm install

If you're just wanted to get set up with React, take a look at https://github.com/facebookincubator/create-react-app

Other than a couple of bare bones 'container' components there is very little to this project aside from the setup for a JavaScript app that renders react both on server and client, with Expressjs and Webpack.

Server side JS is compiled at install time (postinstall script) with Babel & Make using the babel config found in the Makefile, client side js is compiled via Webpack and uses the .babelrc found in the root directory (TODO consider making this clearer with .babelrc.server and .babelrc.client).

To start a development instance:

make start-dev

To start a development instance with debugging:

make start-debug

To build:

make build

To start production:

make start

To run tests (cough what tests? cough)

make test

Deploy to heroku simply by pushing to heroku git or connecting to the repo on github, everything else should be setup to go, for example this repo is deployed here: https://react-universal-hot-starter.herokuapp.com/

Releases

No releases published

Packages

No packages published