This repo provides the backend Express.js framework and code used to power the front-end for the Quantified Self frontend. It provides 5 endpoints that are used by the frontend to retrieve and manipulate food data for the food diary. The endpoints are as follows:
- GET api/foods
- GET api/foods/1
- POST api/foods/1
- PATCH api/foods/1
- DELETE api/foods
To test the endpoints, navigate to https://fierce-brushlands-79152.herokuapp.com/api/