Skip to content

Commit 9627f13

Browse files
committed
Modify documentation
1 parent 4a0e79c commit 9627f13

File tree

3 files changed

+55
-10
lines changed

3 files changed

+55
-10
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Tony Ngan
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,43 @@
22

33
A boilerplate for a Redux-React application using LoopBack
44

5-
Get Started
6-
---
7-
8-
Clone repo
5+
##Get Started
6+
- **Clone this repository or use npm**
97
```bash
108
$ git clone https://github.com/tngan/loopback-redux-react-boilerplate.git
119
```
10+
```bash
11+
$ npm install loopback-redux-react-boilerplate
12+
```
1213

13-
Install dependencies specified in package.json
14+
- **Install dependencies specified in package.json**
1415
```bash
1516
$ npm install
1617
```
1718

18-
Start the server
19+
- **Start the server (default port is set to 3000)**
1920
```bash
2021
$ npm start
2122
```
2223

23-
Access `localhost:3000`
24+
##Scripts
25+
- **npm run deploy**: Bundles the application into .build/dist.
26+
27+
- **npm run start_prod**: Starts production server, make sure you have already deployed the application.
28+
29+
- **npm run clean**: Removes the bundled files.
30+
31+
##Built-in example
32+
A simple 'Hello World'-type Redux-React application is included in this boilerplate. You can find those files under /client.
33+
34+
Hot reloading is only applied in development mode. When you simply modify and save the files (e.g. stylesheet and component.js), then you can see the change in real-time.
35+
36+
In production mode, the code base is pre-compiled and placed under `.build/dist`.
37+
38+
##License
39+
40+
[MIT](LICENSE)
2441

25-
Examples
26-
---
42+
## Copyright
2743

28-
Coming soon ...
44+
Copyright (C) 2015 Tony Ngan, released under the MIT License.

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
"deploy": "NODE_ENV=production webpack -p --config webpack.config.production.js --progress",
99
"clean": "rm -rf .build/dist"
1010
},
11+
"keywords": [
12+
"react",
13+
"redux",
14+
"boilerplate",
15+
"loopback",
16+
"webpack",
17+
"react-transform"
18+
],
1119
"dependencies": {
1220
"compression": "^1.0.3",
1321
"cors": "^2.5.2",

0 commit comments

Comments
 (0)