Testing-server
1.npm init
//npm init -y
several enter
packagejson will be created
2.npm i json-server
//npm install -g json-server
3.create db.json file
4.copy below code and paste in db.json
5.json-server --watch db.json
//npx json-server --watch db.json
//json-server --watch db.json --port 8000