Inspiration
Every day, restaurants prepare more food than they sell, while millions struggle with hunger. We wanted to build something that bridges this gap between food surplus and food scarcity. That’s how ShareBite was born — a real-time food donation platform connecting restaurants with NGOs to minimize waste and maximize impact.
What it does
ShareBite connects restaurants with NGOs to manage food donations. Restaurants submit donation details (food, quantity, type), and NGOs can accept, reject, or mark donations as picked up. Both sides see real-time stats and a donation history through clean dashboards.
How we built it
I used Node.js and Express for the backend and JSON files to store donation data. The dashboards are built with HTML, CSS, and vanilla JavaScript, using fetch for API calls. The app dynamically updates donation tables and stats without refreshing the page.
Challenges we ran into
Managing real-time updates of donations between multiple dashboards. Keeping the UI responsive and clean while dynamically adding rows and stats. Handling data persistence using JSON files without a full database. Ensuring time formatting and status updates were accurate and consistent.
Accomplishments that we're proud of
Built a fully functional donation management platform connecting restaurants and NGOs. Implemented dynamic dashboards showing donation stats, pending items, and history. Successfully managed data flow and updates between front-end and backend using Node.js.
What we learned
Practical experience with Node.js, Express, and JSON-based data storage. How to manipulate the DOM dynamically and update stats in real-time. Basics of full-stack project structure and connecting multiple user dashboards. The importance of UI/UX consistency when handling dynamic content.
What's next for ShareBite
Integrate a real database (like MongoDB) for better data persistence and scalability. Add user authentication for restaurants and NGOs. Implement real-time chat and notifications for smoother coordination. Develop a mobile-friendly version and explore AI suggestions for food allocation
Built With
- backend
- css3
- express.js
- frontend
- html5
- javascript
- json
- node.js
- ui
- ux
- vscode
Log in or sign up for Devpost to join the conversation.