Inspiration
I noticed that restaurants like Dunkin' Donuts throw away perfectly good food every day. Instead of wasting it, this food could be delivered to homeless shelters where people in need can access it. This simple idea sparked the creation of HubHarvest.
What it does
HubHarvest works like Uber Eats for food rescue. Users have the option to choose between being donors or volunteers. Users like restaurants register their surplus food with location details, and volunteers can claim these food rescue missions to pick up and deliver the food to nearby shelters.
How we built it
We built HubHarvest using HTML, CSS, and JavaScript for the frontend interface. For the backend functionality, we used Python with Flask framework to handle user authentication and data management. We integrated Google Maps API for navigation and routing between pickup and delivery locations.
Challenges we ran into
We faced several challenges, particularly with the back button functionality. The main issue was that clicking back would reset the entire page and lose user session data, forcing users to sign in again. We solved this by implementing sessionStorage to preserve user state across navigation and adding proper event listeners to handle back button clicks without page reloads. We also struggled with Google Maps API integration, learning to properly handle API keys and coordinate systems.
Accomplishments that we're proud of
We're proud of getting the core functionality working - donors can post food, volunteers can see available missions, and the map navigation system works. The basic user flow from registration to mission completion is functional, and we've created a clean interface that's easy to understand.
What we learned
We learned how to integrate multiple APIs, manage user sessions effectively, and create responsive designs that work across different devices. The project taught us valuable lessons about user experience design and handling complex navigation flows.
What's next for Hub Harvest
We're still actively developing Hub Harvest. Next up we need to add user profiles, implement real-time notifications when new food is posted, and create an admin dashboard. We also plan to add features like volunteer ratings, donation history tracking, and better food categorization. The mobile app version is also in our roadmap.