About the Project
Inspiration In Pakistan, restaurants generate an estimated 7–7.5 million tonnes of surplus food every year, yet less than 0.002% of it is donated. Meanwhile, millions struggle to access daily meals. This inequality inspired us to take action. Our vision was to create a simple, digital bridge between restaurants with extra food and welfare organizations serving communities in need — transforming food waste into an opportunity to fight hunger and build compassion-driven networks.
What We Learned Throughout the development of Share a Bite, we learned how technology can drive meaningful social change when aligned with empathy and purpose. Our team gained hands-on experience in:
- Building full-stack applications with React and Flask
- Managing authentication, user roles, and API integrations
- Designing responsive, accessible interfaces for real-world usability Beyond technical skills, we learned the importance of user trust, transparency, and the logistical realities behind food redistribution systems.
How We Built It Share a Bite is built with a clear focus on transparency and simplicity.
- The frontend, developed using React.js and Bootstrap 5, provides a clean, responsive experience for restaurants, NGOs, and admins.
- The backend, built with Flask (Python), manages authentication, user roles, and RESTful API endpoints for secure communication.
- Data is stored in SQLite, with SQLAlchemy ORM handling models and migrations.
- The app includes features for creating and managing food posts, claiming donations, viewing verified organizations, and admin verification dashboards. Together, these layers form a seamless connection between food donors and organizations in need.
Challenges Faced Like any impactful project, this one came with challenges. Integrating the frontend and backend securely was a major milestone — ensuring tokens, sessions, and CORS worked smoothly. Other challenges included:
- Handling asynchronous API updates without breaking user flows
- Implementing role-based access for three distinct user types (Admin, Restaurant, Organization)
- Maintaining data integrity and avoiding duplicate claims Each challenge taught us valuable lessons about scalability, user testing, and debugging in multi-user environments.
Impact Every surplus meal that gets redirected to someone in need creates a ripple of hope. Share a Bite aims to maximize that impact by making food redistribution effortless, transparent, and reliable. Our goal is to help restaurants become part of a sustainable giving ecosystem — reducing waste, supporting communities, and contributing to the UN Sustainable Development Goals (SDG 1: No Poverty, SDG 2: Zero Hunger, SDG 12: Responsible Consumption and Production).
Log in or sign up for Devpost to join the conversation.