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))
This API has been created with the help of Ania Kubów's tutorial.
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).