SampleJSONPlaceholder
Sample REST API
How to Create Server
- Create a folder on desktop
- Install node.js on your PC
- Goto node.js cmd termanal
- Goto newly created folder
- Type int npm and continue....
- Type npm install --save json-server
- Create a db.json file on newly folder and paste the respective json
- Open package.json file which is in newly created folder
- Edit the script object --->{"json-server:":"json-server --watch db.json" and save
- npm run json:server
- add the new repostory on github.
- Start server json-server --watch db.json
To accesss the server visit: https://my-json-server.typicode.com//
For example : https://my-json-server.typicode.com/amittpad/SampleJSONPlaceholder