Skip to content

This is Sails+React starter kit or boilerplate. Uses Webpack via grunt build task.

Notifications You must be signed in to change notification settings

kaytrance/sails-react-webpack-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sails.js + React.js + Webpack Starter Kit

This is a good starting point if you want to use Sails as back-end and React in front-end. Apart from this Sails-React starter kit this one fully uses Webpack as an integrated into pipeline grunt build task. Also I have stepped out from using Bower as front-end package manager and left all to npm so if you need any additional package that you want to import to your React app, use npm.

Upon navigating to / an index.jade view will be shown that starts React application. All React application code is located at assets/app.

In order to modify grunt task that bundles React code look at tasks/config/webpack.js.

Installation

  • clone by git clone https://github.com/kaytrance/sails-react-webpack-starter-kit.git
  • cd to cloned folder by cd sails-react-webpack-starter-kit
  • run npm install to scaffold up dependencies
  • run npm run dev to start Sails server in development mode
  • run npm run prod to start Sails server in production mode

Licence

MIT

About

This is Sails+React starter kit or boilerplate. Uses Webpack via grunt build task.

Resources

Stars

Watchers

Forks

Packages

No packages published