mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 12:43:18 +08:00
Update
This commit is contained in:
@ -6,8 +6,6 @@ Give it a JSON or JS seed file and it will serve it through REST routes.
|
|||||||
|
|
||||||
Created with :heart: for front-end developers who need a flexible back-end for quick prototyping and mocking.
|
Created with :heart: for front-end developers who need a flexible back-end for quick prototyping and mocking.
|
||||||
|
|
||||||
[](https://travis-ci.org/typicode/json-server)
|
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
### Command line interface
|
### Command line interface
|
||||||
@ -40,6 +38,7 @@ server.run(db);
|
|||||||
|
|
||||||
## Why?
|
## Why?
|
||||||
|
|
||||||
|
* Lets you use plain JSON or simple JS file
|
||||||
* Supports __GET__ but also __POST__, __PUT__, __DELETE__ and even __PATCH__ requests
|
* Supports __GET__ but also __POST__, __PUT__, __DELETE__ and even __PATCH__ requests
|
||||||
* Can be used from anywhere through __cross domain__ requests (JSONP or CORS)
|
* Can be used from anywhere through __cross domain__ requests (JSONP or CORS)
|
||||||
* Can load remote JSON files
|
* Can load remote JSON files
|
||||||
|
Reference in New Issue
Block a user