First, run the development server:
npm run dev
# or
yarn dev
And, in parallel, run json-server from the project root:
json-server --watch db.json --port 3001 --delay 2000
Open http://localhost:3000 with your browser to see the result.
First, run the development server:
npm run dev
# or
yarn dev
And, in parallel, run json-server from the project root:
json-server --watch db.json --port 3001 --delay 2000
Open http://localhost:3000 with your browser to see the result.