Skip to content

DianaVasiliu/Food-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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).

Releases

No releases published

Packages

No packages published