bash: json-server: command not found code example
Example: 'json-server' is not recognized as an internal or external command, operable program or batch file.
npm install -g json-server
npx json-server --watch db.json
//if installed locally in your project - use npx to run