It's necessary to run the serve inside of json-server:
npm install -g json-server
After that, you can run: json-server -p 4000 --watch rest-api/products.json
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.