json-server
json-server copied to clipboard
Get a full fake REST API with zero coding in less than 30 seconds (seriously)
Just added info about total count of the items into "paginate" section. Closes https://github.com/typicode/json-server/issues/791
embed with custom id this commit fixes #813
Based on discussion [here](https://github.com/typicode/json-server/issues/832), I think it might be useful to allow mocked API to return a single number as response. So I created the following pull request. Please help...
This PR clarifies in the opening docs that a `POST` request will automatically provide an `id` when one is not specified on the request. I love the feature and had...
## _split To split children resources, add `_split` ``` POST /posts?_split=comments PUT /posts/1?_split=comments PATCH /posts/1?_split=comments ``` Request body ```json { "id": 1, "title": "json-server", "author": "typicode", "comments": [ { "body":...
Improvement layout the index server generated.
In some cases, you may want to pass another middleware to the render function, allowing the developer to render at a later time.
I'm using delay feature and would like to see it in the log.
If started with `--watch` the server will only watch for filechanges if the file is a JSON file. This PR adds the ability to also watch for filechanges on js-files....