Improve readme readability

change install section position (move it up above the Example section)
This commit is contained in:
Touhid Arastu
2015-06-12 01:41:22 +04:30
parent 60a21e685b
commit 77da927c17

View File

@ -7,6 +7,12 @@ Created with <3 for front-end developers who need a quick back-end for prototypi
* [Egghead.io free video tutorial - Creating demo APIs with json-server](https://egghead.io/lessons/nodejs-creating-demo-apis-with-json-server)
* [JSONPlaceholder - Live running version](http://jsonplaceholder.typicode.com)
## Install
```bash
$ npm install -g json-server
```
## Example
Create a `db.json` file
@ -89,12 +95,6 @@ Returns default index file or serves `./public` directory.
GET /
```
## Install
```bash
$ npm install -g json-server
```
## Extras
### Static file server