Install JSON Server
npm install -g json-server
or
yarn global add json-server
Alternative port You can start JSON Server on other ports with the –port flag:
json-server --watch db.json --port 3004