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

With giving json-server setup after hitting the route "/api/v1/documents?docId=123" I am getting [] array as response. Everything works fine when hitting "/doc" to inspect the response from json-server UI. When...

When setting a different id key with: ``` router.db._.id = '_id' ``` Or with: ``` NODE_OPTIONS=--stack-trace-limit=100 json-server storage/db.json --port 5000 --watch --id _id ``` If you do a DELETE request...

Updated and moved the filters methods (embed, expand) to separate file and generalized to accept both arrays, objects and lodash chain wrappers and return what they got. Updated single route...

Maintainer of faker pulled the repo, Faker JS is a fork of the original project.

I have a json structure like this: ``` "users": [ { "id": 1, "first_name": "Erek", "urbs":[ { "id": 12 }, { "id": 8 } ] }, { "id": 2, "first_name":...

I made a db.json file and put a values there, but when I type the site link with my Github, and clicked db to see the data there and copy...

Example: GET HTTP://localhost/partners?segmentIds=1 I need segments 1 2 and 3, but it is only returning the segments with id 2 and 3 ```JSON { "segments": [ { "id": 1, "name":...

I am using JSON server to create a simple API. I would like to update a nested array in this case the videos array in the playlist with id 'default':...

Can I install JSON Server on Windows 7? I have node.js 13 since it's the latest version supported on the Windows 7. When I try to install JSON Server with...