Confusion In the project directory, you can run: yarn start || npm start JSON-SERVER Installing json-server on MacOS sudo npm install -g json-server Running the json server In the json-server directory, you can run: json-server --watch db.json -d 2000 -p 3001