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

Closes #1581 #1520 #1497 #1177 awaiting #1625 you can preview by adding this to your package.json: ```json "scripts": { "server": "node node_modules/json-server/lib/bin.js db.json --port 3000 --middleware=logger.mjs", "postinstall": "cd node_modules &&...

from test_report.docx

I feel v0.xx is way better than v1-betta how come all good features are gone???

Hello! I have the following resources in my `db.json` file: ``` { "courses": [ { "id": 1, "courseName": "Angular", "courseHours": 120, "courseStudentList": [ { "id": 14, "studentName": "Kennster", "studentAge": 24...

We enabled the write permission and on trying it with react, i didn't send the body fields, since it has no validation, it got appended. ![image](https://github.com/user-attachments/assets/14e833e1-296f-49a4-b04f-e3f4fcdfccee) Is there anyway, we...

Hi, I cannot seem to get the server to return me some static JSON files (I get a CORS error). Server is setup as: ``` /server/ survey.json /server/public/ example.json` ```...

### **Summary** Added Morgan middleware to log details for each incoming request. ### **Details** - Integrated the `morgan` package to enable HTTP request logging. - Configured Morgan to use the...

In my db I have something like this: ``` [ { "id": "89be578a-ef59-4cf2-96ca-5911bf95d959", "count": 1 }, { "id": "464e2921-2a44-4bfb-b533-89f2a75f8ba5", "count": 5 }, { "id": "111837ad-7b91-4fd3-b7c8-daa7b194e8fa", "count": 6 }, { "id":...

Hi there! Can you make the POST method to return a custom JSON result data in db.json not just return the requested JSON data? Thx!