Issue

Here’s some food for thought. Every year, the United States discards approximately 40 million tons of food. That’s around 80 billion pounds, and equates to more than $161 billion in total. However, in the United States, according to the USDA’s latest Household Food Insecurity report, there are over 35 million people and 14.3 million households with limited access to food. This is the shocking disparity in American communities.

What it does

Foodible strives to combat this disparity, by simultaneously ending food insecurity and food waste. Foodible creates networks between restaurants that have a lot of leftover food, food pantries that are in desperate need of, and volunteers who are willing to help deliver from restaurant to pantry. Restaurants and Food Pantries can register for foodible by filling out a form, which will add them to a public database. Volunteers can access the public database to select their restaurant to pick up items from, and a pantry to deliver items to, based on their address and the proximity of the restaurant or pantry.

How I built it

The front-end of the website was built with HTML, JavaScript, and CSS. I used Bootstrap 4, an HTML, CSS, and JavaScript framework for developing responsive websites. The backend was built with Node.js, and I used MongoDB to store my information. Finally, EJS was used to render the results.

Challenges I ran into

I used MongoDB and Node.js for the very first time, and it was extremely challenging to learn how to code with Node.js and use MongoDB in 24 hours.

Accomplishments that I'm proud of

This is my first project with MongoDB and Node.js, and I'm extremely proud of my project. I'm very proud of the fact that I created a database with multiple collections and rendered the results on a website for the very first time. This is my first full-stack application, and to me, it was a success!

What I learned

I learned how to do backend programming with Node.js and set up a NoSQL database with collections, with MongoDB. I also learned how to use EJS in the process as well, to view the results. Finally, I learned that when creating a hack in 24 hours, perseverance in the face of difficulty is key. Even though there might be some bugs in your program, you should always stay persistent and make the most out of what you've got!

What's next for Foodible

I hope to add more restaurants and food pantries to Foodible from different places around the nation and the globe, in order to expand Foodible's reach. I also hope to create a system where a volunteer can create a Foodible account, in order for them to access a calendar of the deliveries that they have to make.

Share this project:

Updates