Inspiration

Ever bought ingredients for a recipe in bulk only for the leftover ingredients to be sitting in your pantry, never to be used again? We certainly have. One member of our group voiced the story of a lone bag of spinach that sits in her family's pantry after being used for just a single recipe. We decided to do something about it.

What it does

Left for Bread aims to eliminate food waste by providing you with recipes that call for any ingredients of your choosing so that you can make the most of the food you buy. It searches through an online database of recipes to find ones that contain those ingredients. You can choose favorite recipes and build a weekly plan of meals.

How we built it

We made a website fully from scratch (aside from our dependencies) with Python, HTML, and CSS. We used VSCode's Live Share extension to work on code together, and GitHub for version control. We made our own database with CockroachDB to contain users, and we pulled recipes from the Edamam public database. Each member of the team had a different set of skills, and we were able to utilize of of them together in one cohesive website.

Challenges we ran into

We all had experience with Python, but most of us hadn't used Flask before. Still, we opted for Flask over React so that we could use Python for both the backend and the communication between backend and frontend. For the frontend itself, we had HTML & CSS with some Bootstrap; it was a challenge putting it all together with Python because it is so customary to use JavaScript instead.

Accomplishments that we're proud of

Connecting CockroachDB to Flask. Also, using so many technologies all in one project.

What we learned

We practiced using databases and connecting Python to frontend HTML and CSS. We learned CockroachDB and PsycoPG.

What's next for Left for Bread

In the future, we'd love to implement a lot more of our backend into our frontend. We had a lot more in our backend that didn't make it into the final site. We have the implementation for choosing whether your favorited recipes are put in the breakfast, lunch, or dinner categories. We can also sort by allergens and diet types (vegan, vegetarian, etc.).

Built With

Share this project:

Updates