Inspiration

Have you ever been tired of always eating the same food everyday? What should you do when you want to try something new but can't think of any dishes? While living as college students, we've been eating at home more often and going out to eat less, and I've noticed that I keep eating the same food without even realizing it. So I started cooking, but since my repertoire of dishes was limited, I started to get tired of the meals. Then I suddenly had an idea: What if instead of looking up recipes and making them with the ingredients I have, a computer generate a recipe for me based on the ingredients I already have? That way, I could have a wider range of options and have more opportunities to try new foods. Now, shall we fall into the joy of cooking?

What it does

What's in my refrigerator? allows the user to add foods that are in their refrigerator and then show the possible recipes user can make with. It is shown as a table format and then accessible to display the steps.

How we built it

We scraped out food data from https://www.foodandwine.com/ingredients through python Beautiful soup and Request. We then processed our data main through python pandas by categorizing the recipes with columns food name, recipe details, ingredients, steps, and image. The processed data was extracted as csv file, which was then used for building algorithms.

We built a python Flask website using local host which allows the user to add foods and then show the possible recipes user can make with. We further used html and css for formatting and design.

Challenges we ran into

  • Due to time constraints, login and save/like functions were not implemented.
  • Encountering difficulties by using skills that were not taught at school.
  • Troublesome to publish the website; we used the local host.

Accomplishments that we're proud of

First of all, I feel a great sense of accomplishment in completing the project together. I am also satisfied with handling a variety of data. Moreover, I am proud of studying and using programming languages that we were not familiar with to complete the code.

What we learned

  • Web-scraping
  • Implementing website using local host and python Flask
  • html and css formatting

What's next for What is in my refrigerator?

-add local offers for ingredients -add save for later -add more recipes

Built With

Share this project:

Updates