Giter VIP home page Giter VIP logo

hapi-universal-redux's Introduction

logo dependencies devDependencies

DEPRECATED: check out alternatives to building a server-side rendered React app:

Isomorphic starterkit with server-side React rendering using npm, webpack, webpack-dev-server, react-transform-hmr, hapi, babel, react, react-router redux, redux-devtools-extension, react-router-redux, radium.

screenshot

Features

  • Fully automated with npm run scripts
  • Server hot reloads with webpack hmr
  • Webpack for watch + production builds
  • React + Router on the client and server
  • React-Transform for instant client updates
  • Babel automatically compiles ES6 + ES7
  • Redux and Redux-DevTools-Extension for managing app state
  • Radium for advanced inline styling

It just works out-of-the-box.

Installation

Make sure you're using Node >= 4.0.0.

	git clone https://github.com/luandro/hapi-universal-redux.git
	cd hapi-universal-redux

	npm install
	npm run dev     # start Hapi server and webpack-dev-server hot server

	# production build and run
	npm run production
	# or
	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

MIT license. Copyright © 2016, Luandro. All rights reserved.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.