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

I can't run the server and this error shows: `C:\Users\ph2200009\AppData\Roaming\npm/node_modules/node/bin/node: line 1: This: command not found` The **node_modules/node/bin/node** has this: `This file intentionally left blank`

wehn i try to use delay option in our project i got this error? Unknown option '--delay', how i can fix it.

When you use the POST method to add some new data to an endpoint. Later, when i try to update the data using either PUT or PATCH method, it simply...

Are they supposed to work? When sending one, I get ``` SyntaxError: Unexpected token 'x', "x����T�LQ�"... is not valid JSON at JSON.parse () at file:///opt/homebrew/lib/node_modules/json-server/node_modules/milliparsec/dist/index.js:21:45 at file:///opt/homebrew/lib/node_modules/json-server/node_modules/milliparsec/dist/index.js:8:16 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)...

Hi, We are using this library to serve the fake api on each developer’s desktop during coding when we start up ng serve. I am wondering if we are in...

- _noDataNext Allows entry to the next route when there is no data, which makes it work seamlessly with other programs - _noDbRoute Assuming a db.json data breach poses a...

The parameter in the document is _dependent, but in the code it is dependent, so the data is not retrieved correctly. - version 1.0.0-beta.0 - [Document location](https://github.com/typicode/json-server/blob/0f392e6f277d70a2612a977494861732c11eefa8/README.md?plain=1#L191) - [Code location](https://github.com/typicode/json-server/blob/0f392e6f277d70a2612a977494861732c11eefa8/src/app.ts#L113)...

This package has been great, waiting for someone to write the api for a project so this has helped me build the frontend without waiting around. Anyway I want to...

`"json-server": "1.0.0-beta.0"`. Like there have 7 data in posts, and send: 1. `/posts?_page=1&_per_page=5`, that is normal. 2. `/posts?_page=2&_per_page=5`, normal too. 3. `/posts?_page=3&_per_page=5`, the response is not my expected, current is...