mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 12:43:18 +08:00
12
README.md
12
README.md
@ -9,6 +9,12 @@ Created with <3 for front-end developers who need a quick back-end for prototypi
|
||||
|
||||
_See also [hotel](https://github.com/typicode/hotel), a simple server manager._
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
$ npm install -g json-server
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
Create a `db.json` file
|
||||
@ -91,12 +97,6 @@ Returns default index file or serves `./public` directory.
|
||||
GET /
|
||||
```
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
$ npm install -g json-server
|
||||
```
|
||||
|
||||
## Extras
|
||||
|
||||
### Static file server
|
||||
|
Reference in New Issue
Block a user