FoodLoop: A Real-Time Surplus Food Rescue Platform Using Atomic Claim Handoff, Location-Aware Matching and Role-Based Access Control
Large quantities of edible food are discarded by restaurants, banquet halls, hostel messes and households while many people go hungry. The main obstacle is coordination: surplus food is perishable, pickup windows are short, and donors rarely know which nearby organisation can collect it in time.This paper presents FoodLoop, a web platform that connects food donors with registered NGOs through live listings. Donors post surplus food with servings, food type, allergens, cooking time, a food-safety deadline, pickup window and location. NGOs see listings ranked by a weighted score combining proximity, pickup urgency and donor verification. A claim is made through an atomic database update, so two NGOs can never win the same donation, and the handoff is confirmed with a one-time pickup code known only to the donor.The platform is implemented with React and Vite, an Express.js REST API, MongoDB Atlas with Mongoose, Socket.IO for real-time events, Web Push notifications and Zod validation. Security is based on JWT authentication, role-based access control, ownership checks, hashed email OTPs, rate limiting, upload content verification and an audit log.The paper describes the architecture, data model, methodology, matching and routing algorithms, security design, an evaluation protocol and limitations. Performance figures are intentionally not reported and will be added after field experiments.
Authors
- Abhijit Shahaji Patil Patil
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-26
- DOI
- https://doi.org/10.5281/zenodo.24545349
- Primary Topic
- Food Waste Reduction and Sustainability
- Type
- article
- Field-Weighted Citation Impact
- 0.00