##Steps
- Install library
npm install json-server
- Update script in package.json file
"json:server": "json-server --watch db.json"
- Create a file db.json and add data of JSON format.
- Fire command
npm run json:server
- Perform GET POST PUT PATCH DELETE methods for testing the mock API.