json-server : The term 'json-server' is not recognized as the name of a cmdlet, function, script file, or operable program. 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