I am a newbie to JSON so I am still figuring out what it's all about. In the course I am taking on YT, they use the command npx json-server -p 3500 -w data/db.json
in the terminal to install json server to the project. In theory this is supposed to allow me to get requests in the terminal as well when I refresh the localhost page. Is there a step I am missing?? Anything I still need to install? I have node.js and npm installed already.
This is my terminal window
I am trying to get something like this in which i can see the requests posted in the terminal at the very end.
I have tried installing globally and locally instead using npm
command instead of npx
, however not even that worked.