Open
Description
npx json-server --watch data/db.json --port 3500
$ npx json-server --watch data/db.json --port 3500
--watch/-w can be omitted, JSON Server 1+ watches for file changes by default
JSON Server started on PORT :3500
Press CTRL-C to stop
Watching data/db.json...
(˶ᵔ ᵕ ᵔ˶)
Index:
http://localhost:3500/
Static files:
Serving ./public directory if it exists
Endpoints:
http://localhost:3500/bruh
http://localhost:3500/items
Expect printed logs when URL is accessed or when update request is made, but terminal is silent.
Did not install npm -i json-server
, using json-server out of box via npx.
Metadata
Assignees
Labels
No labels