In the project directory, you run the project with the following steps:
Open http://localhost:3000 to view it in the browser.
npx json-server -p 4000 db.json
- npm install -g json-server
- json-server -p 4000 db.json
In the project directory, you run the project with the following steps:
Open http://localhost:3000 to view it in the browser.
npx json-server -p 4000 db.json