json-server icon indicating copy to clipboard operation
json-server copied to clipboard

Get a full fake REST API with zero coding in less than 30 seconds (seriously)

Results 291 json-server issues
Sort by recently updated
recently updated
newest added

Added support for an array of ids in _embed function and some tests. Didn't touch _expand as it's supposed to be fixed by PR #648.

The command to run is json-server-relationship, actually. Thanks for your work!

This would allow the CLI to load the DB from any compile-to-JS language directly, removing the need to do it programatically as long as the necessary compiler is loaded. The...

Related #981 Since the element which has id=custom-routes is modified by JS, so cli, server tests can’t confirm if this fixed or not. I add the sample test script to...

**Proposal** Add support of array get params: Example: `/comments?id[]=1&id[]=2` jQuery and Axios encoding to arrays by default: - See: https://github.com/jquery/jquery/blob/master/src/serialize.js#L34 - See: https://github.com/axios/axios/blob/master/lib/helpers/buildURL.js#L42

### Current behaviour: `POST` on nested resources creates a resource with parent resource id value as string. eg: ```js POST /posts/1/comments { "body": "some comment" } --- { "body": "some...

My proposal is to expose a __config__ property together with the [db property](https://github.com/typicode/json-server/blob/master/src/cli/run.js#L74) on the express application created by json-server cli with the content of the configuration parsed by yargs,...

listen on all (network) interfaces to allow remote web connections