This commit is contained in:
Typicode
2013-12-03 00:58:05 +01:00
parent 8a7460524d
commit 58f4ce7893

View File

@ -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.
[![Build Status](https://travis-ci.org/typicode/json-server.png)](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