To make a json server

1 Install npm.
2 Type npm install -g json-server in your command prompt.
3 After installig json-server type json-server --watch db.json


You are all ready to create your blogs in localhost.