Skip to content

A full ES2015 universal sails + react starter project with server and client side rendering with styles.

Notifications You must be signed in to change notification settings

devgeniem/sails-universal-react-starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sails Universal React Starter

A full ES2015 universal/isomorphic SailsJS + ReactJS starter project with server and client side rendering, routing and styles. Powered with Webpack (sails-hook-webpack), React Router (sails-hook-react-router), and Babel, the project features Hot Module Reloading (HMR), automatic react-router routes on the server and hot reloading of SailsJS routes, controllers and services.

Note: this is still a work in progress, but the general concept works.

Quick Start

  • Git clone/fork or download the project.
  • npm install.
  • npm run build-watch (watch the /src directory for changes and build to /dist).
  • npm start (start the SailsJS app from /dist).
  • Open http://localhost:1337 and enjoy!

Currently only has a webpack dev setup. No production.

Related Modules/Projects

About

A full ES2015 universal sails + react starter project with server and client side rendering with styles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.2%
  • HTML 24.1%
  • CSS 2.7%