Skip to content

Foodyx gives you a breakdown of calories and nutrients, compare serving sizes, and discover how the food you eat supports your goals.

Notifications You must be signed in to change notification settings

HenryAgu/Foodyx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foodyx

Foodyx gives you a breakdown of calories and nutrients, compare serving sizes, and discover how the food you eat supports your goals.

Screenshot

foodyx-started foodyx foodyx2

Built with

How To Use Foodyx

  • Click on any 'Get started' button when the page loads.

  • Enter your choice of meal into the search box. foodyx-search

  • Then watch edamam API generate options of that meal with their calories. foodyx-result

To Run this program on your device

  • Open your terminal
  • Locate this project
  • Run 'npm init' to get the 'node module' folder
  • Run 'npm start' to run the program on your local browser.

What I Learnt on the project

I learnt to use axios to get data from an api and it is way easier than useEffect.
      .get(
        `https://api.edamam.com/search?q=${search}&app_id=${APP_ID}&app_key=${APP_KEY}`
      )
      .then((res) => {
        setData(res.data.hits);
      });

Designer

Developer

About

Foodyx gives you a breakdown of calories and nutrients, compare serving sizes, and discover how the food you eat supports your goals.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published