Skip to content

bfollington/react-redux-isomorphic-boilerplate

Repository files navigation

screenshot

Hapi Universal Redux

Fork from Luandro's Hapi Universal Redux. A little less opinionated with latest versions of most dependencies.

Isomorphic starterkit with server-side React rendering using npm, piping, webpack, webpack-dev-server, hapi.js, babel.js, react.js, redux, react-router, react-hot-loader

Features

  • Fully automated with npm run scripts
  • Server hot reloads with piping and Hapi.js
  • Webpack for watch + production builds
  • React.js + Router on the client and server
  • React Hot Loader for instant client updates
  • Babel.js automatically compiles ES6 + ES7
  • Serverside rendering and hydration
  • Redux for managing app state

It just works out-of-the-box.

Installation

	git clone https://github.com/bfollington/react-redux-isomorphic-boilerplate.git
	cd react-redux-isomorphic-boilerplate

	npm install
	npm run dev     # changed from original for ease

	# production build and run
	NODE_ENV=production npm run build
	NODE_ENV=production npm run start

Usage

Run npm run dev in your terminal and play with views/Main.js to get a feel of the server-side rendering and client-side hot updates.

License

Original code:

BSD 3-Clause license. Copyright © 2015, Rick Wong and Luandro. All rights reserved.

About

My take on the whole react-redux-isomorphic thang

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published