Inspiration

According to the U.S. Department of Agriculture, approximately 35% of the food supply in the U.S. goes to waste ("Food Waste FAQs"). We wanted to help bring awareness to this issue and give users a way to mitigate their personal food waste.

What it does

Food Waste Manager provides the time periods by which the user should consume their food products, as well as an easy way to access recipes they can potentially make with the ingredients they already have on hand.

How we built it

We used JavaScript, Node.js, and Express.js for the backend portion of the site. For the frontend, we used Bootstrap, jQuery, and Handlebars.js. We accessed public APIs from the USDA and Spoonacular.

Challenges we ran into

Working with the dataset from the Department of Agriculture presented some difficulties because of the way the JSON file was organized. Additionally, jQuery introduced added complexity to the codebase. Lastly, we were learning some components while we were building them.

Accomplishments that we're proud of

We are proud of bringing awareness to the issue of food waste in the world, and we learned a lot in the process. We sincerely hope that our project inspires people to consider the implications of how they store their food and how mindful they are when purchasing new food products. We hope people realize that wasted food could have potentially supported families from lower socioeconomic statuses.

What we learned

We learned a lot about frontend development, specifically with Handlebars.js and its application in a complex web environment.

What's next for Food Waste Manager

For future considerations, we would like to implement a new route that enables users to view their previously added ingredients and the time each ingredient has left before it expires. The user would then be able to filter their added ingredients so that the ingredients with the nearest expiration dates will have a higher priority in the list, appearing at the top. We would also like to add links to each of the recipe cards so that the user can be redirected to a recipe by clicking on a recipe card.

Share this project:

Updates