- Clone the repo
- Install packages (npm install)
- Run command npm run dev to start the dev server
- To check if the server is working, open your web browser and go to http://localhost:8888. You should see the JsonServer welcome page. To check if data is returned as expected go to http://localhost:8888/api/filename where the filename is the name of a file from the data folder. e.g. http://localhost:8888/api/notes (Preferably use the URL in Postman for get request)
Get request to /health
will return { "status": "Ok" }
with a 200
status code