We wanted to create a solution that implements sustainability and reduces food waste. One of our members had trouble coming up with new recipes every day for dinner. Using this inspiration mixed with our sustainability track, we created this program.
What it does
Our website finds the most relevant recipe based on the ingredients entered by the user.
How we built it
We started with an HTML template and built upon it to make it fit our needs. We then made a python scraper that takes data from an Allrecipes page and writes a txt file including the URL, recipe name, and list of ingredients. It then reads the txt file and runs the file through HTML.
Challenges we ran into
We did not know how to scrape with python, so we had to learn how to use requests and BeautifulSoup. We also did not know how to get our python data to the HTML page, so we needed to learn how Flask works.
Accomplishments that we're proud of
We are proud that learned how to scrape a website, link a front and backend, and build a website with our novice web development and data science experience.
What we learned
We learned how to connect our Python script to the HTML front-end we created and how to process the data that is inputted on the website.
What's next for Recipeman
We would improve our program by adding a ton more recipes, filtering ingredients better, making the ingredients for each recipe more generalized, creating a mobile application, and integrating ingredient shopping with Amazon/Whole Foods, Thrive Market, and more!