Food waste by consumers is a large portion of all food waste. We wanted to create an application to help reduce food waste at the consumer level by giving consumers an easy tool to keep track of expiration dates.

What it does

Takes user input and creates a table of food items, their amounts, and their expiration dates that can be removed, added, and adjusted by the user. The table is organized with the earliest expiration dates at the top, along with a special color-coding to further organize expiration dates. Red means expired, yellow means expiring in a week, and green means over a week until the expiration date.

How we built it

Used Django as a web framework, creating the backend in mainly Python and using CSS styling and html to develop the front end. The backend makes use of a list of Python dictionaries to store all the food items while implementing Django framework to build the pages and views on the website.

Challenges we ran into

We wanted our website to be able to notify users via email when their food items are about to expire, but we weren't able to learn how to implement this in time. There was also a lot of trial and error in comparing dates for the color-coding to work.

Accomplishments that we're proud of

This is our first hackathon, and we are so excited to have a somewhat finished project by the end of it, along with getting to learn and work together!

What we learned

We all had to learn to use Django, and some of us were new to Python and CSS as well.

What's next for Food Waste Helper

Hopefully notifying users via email when their items are about to expire, as well as allowing the user to look up recipes including their food items, or how the best way for them to dispose of the food item, if needed.

Built With

Share this project: