DianaVasiliu / Food-API

Mock REST API for food ๐Ÿ•

Home Page:https://gunter-food-api.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Food-API

This is a mock REST API with different types of food.

To view the live API, visit here.

The API supports any type of HTTP request and can even return a single item from an endpoint. For example, to get the pizza having the Id of 0:

fetch('https://gunter-food-api.herokuapp.com/pizza/0')
    .then((response) => response.json())
    .then((data) => console.log(data))

Credits

This API has been created with the help of Ania Kubรณw's tutorial.

Contributing

Feel free to make a pull request and add more items in the database, following the same format in db.json (you can add other fields too).

About

Mock REST API for food ๐Ÿ•

https://gunter-food-api.herokuapp.com/


Languages

Language:JavaScript 100.0%