Api for some nigerian foods and thier nutritional information
Foods are classfied into 9 categories
Get a json response of the specified food
example:
{ foodname: { category: foodcategory, img_url: link to image of food, nutritonal_information: {'calories': value , carbs: value, protein: value, fat: value, sodium: value, sugar: value} } }URL: https://www.nigerianfoods.herokuapp.com/api/foods/<foodname>
Get a json response of every food in the database
URL: https://www.nigerianfoods.herokuapp.com/api/foods
HTTP method: GET
Get a json response of a list of all the foods that belong to a particular category
URL: https://www.nigerianfoods.herokuapp.com/api/food_category/<categoryname>
HTTP method: GET