- Fork and clone this repository
- Run
json-server --watch db.json --routes routes.json
to get the backend started - Open the
index.html
file on your browser
Your base URL for your API will be: http://localhost:3000
The endpoints you will need are:
- GET
/departments
- POST
/items
- DELETE
/items/:id