loopback-redux-react-boilerplate
A boilerplate for a Redux-React application using LoopBack.
Get Started
- Clone this repository or use npm
$ git clone https://github.com/tngan/loopback-redux-react-boilerplate.git
- Install dependencies specified in package.json
# npm
$ npm install
# yarn
$ yarn install
- Start the server (default port is set to 3000)
# npm
$ npm start
# yarn
$ yarn start
Scripts
-
npm run deploy or yarn deploy: Bundles the application into
.build/dist
. -
npm run start_prod or yarn start_prod: Starts production server, make sure you have already deployed the application.
-
npm run clean or yarn clean: Removes the bundled files.
Built-in example
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
.
License
[MIT]
Copyright
Copyright (C) 2016 Tony Ngan, released under the MIT License.