- Run the following commands to install JSON server
brew install npm
npm install -g json-server
- To run the following server use the following command
json-server --watch db.json
- More info about JSON server can be found here: https://github.com/typicode/json-server