To use the mocked API run yarn global add json-server
or npm i -g json-server
, then yarn start-api
or npm run start-api
To save changes to the mocked DB api/db.json
file press s
in the terminal at any time.
yarn start
runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.