Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/i-m-hossain/mealdb-react


https://github.com/i-m-hossain/mealdb-react

javascript react

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

##Mealdb

Mealdb finds the food, when it is searched


Live website link [Mealdb]{}

###How I do this?
There is a free api available for the food items. Following API is used to do this small project.
www.themealdb.com/api/json/v1/1/search.php?s=a

  • Data is loaded initialy for the search string a

  • Data is retrieved using useEffect and useState
  • When clicked at Add to Cart food item will be added to the cartbotton