8000 GitHub - DianaVasiliu/Food-API: Mock REST API for food 🍕
[go: up one dir, main page]

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
0