git clone git@github.com:gurindernarang/json-server.git
npm install -g json-server
After sucessfull installation of json-server and cloning this repository, move into this folder and run json-server on your system using following command
json-server --port 3001 --watch db.json