A boilerplate for a Redux-React application using LoopBack
- Clone this repository or use npm
$ git clone https://github.com/tngan/loopback-redux-react-boilerplate.git
$ npm install loopback-redux-react-boilerplate
- Install dependencies specified in package.json
$ npm install
- Start the server (default port is set to 3000)
$ npm start
-
npm run deploy: Bundles the application into
.build/dist
. -
npm run start_prod: Starts production server, make sure you have already deployed the application.
-
npm run clean: Removes the bundled files.
A simple 'Hello World' Redux-React application is included in this boilerplate. You can find those files under /client
.
Hot reloading is only applied in development mode. In production mode, the code base is pre-compiled and placed under .build/dist
.
Copyright (C) 2015 Tony Ngan, released under the MIT License.