react-universal-boilerplate

0.0.14 • Public • Published

React Universal Boilerplate

"Isomorphic" React simplified. This a light starter kit which provides the bare minimum.

This boiler plate uses one outside packages for the client.

react-router

Setup

Clone

git clone https://github.com/ettrics/react-universal-boilerplate.git

Install all dependencies.

npm install

Serve & Develop

Runs a ES6 express server that includes hot reloading.

npm start

http://localhost:3000

The full application, client and server

http://localhost:3001

Server side rendering ONLY, does not include client script.

Tools

Various small tools are included to help development.

Build

Builds and outputs files to ./build

npm run build

Clean

Removes files from ./build

npm run clean

Serve

Runs a ES5 express server that includes built bundles to test production.

npm run serve

http://localhost:3001

Links and Resources

Concept and architecture explained here:

http://jmfurlott.com/tutorial-setting-up-a-simple-isomorphic-react-app

racket - REACT/ROUTER

https://github.com/rackt/react-router

Readme

Keywords

none

Package Sidebar

Install

npm i react-universal-boilerplate

Weekly Downloads

0

Version

0.0.14

License

MIT

Last publish

Collaborators

  • ettrics