How to run npm install -g json-server in a root folder run: json-server --watch db.json --port 3004 install all dependencies yarn start go to http://localhost:3000/