FOODxSAVE Connecting restaurants with NGOs to reduce food waste and fight hunger

Inspiration

Food waste is a global issue, especially when many go hungry every day. We wanted to create a simple solution that helps redistribute leftover food from restaurants to NGOs that serve people in need.

What it does

FOODxSAVE allows restaurants to list leftover food and connect with nearby NGOs. NGOs can browse the available food listings and claim them for distribution. This system ensures that food doesn't go to waste and is instead used to help feed those in need.

How we built it

Frontend: Next.js with clean, responsive UI Backend: Firebase Authentication + Firestore Database Role-based navigation: Restaurants and NGOs have tailored dashboards Real-time updates: Food listings and claims are reflected instantly

Challenges we ran into

Handling real-time updates: Ensuring the food listings and claims are updated in real-time without delays was a challenge. Role-based access control: Ensuring that only restaurants can post food and only NGOs can claim it required careful setup of Firebase Auth and Firestore security rules. Responsive UI: Adapting the design to work smoothly across different devices, while maintaining a clean and simple interface, took significant effort.

Accomplishments that we're proud of

Successfully integrated Firebase Authentication for secure login. Created a functional, real-time food listing and claim system using Firestore. Built role-based navigation, ensuring restaurants and NGOs only see relevant information. Developed a clean, responsive user interface that adapts to various screen sizes.

What we learned

Firebase Auth & Firestore integration in Next.js apps Conditional routing and role-based access control UI state management using React hooks

What's next for FOODxSAVE

Mobile App: Expanding to mobile platforms to make it more accessible for users on the go. Geolocation features: Integrating geolocation to allow restaurants and NGOs to find nearby partners. Expansion: Scaling the platform to accommodate more restaurants and NGOs in different regions, increasing food redistribution impact.

Built With

Share this project:

Updates