Skip to content

Commit eb27daf

Browse files
committed
Update README.md
1 parent eab0af0 commit eb27daf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ Created with <3 for front-end developers who need a quick back-end for prototypi
99

1010
_See also [hotel](https://github.com/typicode/hotel), a simple server manager._
1111

12-
## Install
13-
14-
```bash
15-
$ npm install -g json-server
16-
```
17-
1812
## Example
1913

2014
Create a `db.json` file
@@ -44,6 +38,12 @@ Now if you go to [http://localhost:3000/posts/1](), you'll get
4438

4539
Also, if you make POST, PUT, PATCH or DELETE requests, changes will be automatically and safely saved to `db.json` using [lowdb](https://github.com/typicode/lowdb).
4640

41+
## Install
42+
43+
```bash
44+
$ npm install -g json-server
45+
```
46+
4747
## Routes
4848

4949
Based on the previous `db.json` file, here are all the default routes. You can also add [other routes](#add-routes) using `--routes`.

0 commit comments

Comments
 (0)