JSON-SERVER-DEMO

##Steps

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