Academia.eduAcademia.edu

Prasadam

2026, Rahul , Devansh, Vedant, Ankit

https://doi.org/10.5281/ZENODO.18343086

Abstract

This research paper presents the design and implementation of "Prasadam," a centralized web-based portal aimed at mitigating the critical issue of food wastage in urban environments. While a significant percentage of food produced is wasted daily by sources such as restaurants, hotels, and social events, a large portion of the population continues to struggle with hunger. The primary challenge in addressing this paradox is the lack of a coordinated, transparent system to connect food donors with charitable organizations in a timely manner. Prasadam addresses these logistical inefficiencies by establishing a reliable digital bridge between verified Non-Governmental Organizations (NGOs) and food donors. The system is engineered using a Flask (Python) backend to ensure a lightweight and scalable server architecture, integrated with Google Firebase to facilitate real-time data synchronization. This technical stack enables the platform to provide instantaneous notifications to NGOs located in the vicinity of a donation listing, thereby preventing food spoilage due to communication delays.

Prasadam Vedant Vaya JECRC University [email protected] Rahul Goyal JECRC University [email protected] Devansh Shikhwal JECRC University [email protected] Ankit Ajmera JECRC University [email protected] Abstract This research paper presents the design and implementation of "Prasadam," a centralized web-based portal aimed at mitigating the critical issue of food wastage in urban environments. While a significant percentage of food produced is wasted daily by sources such as restaurants, hotels, and social events, a large portion of the population continues to struggle with hunger. The primary challenge in addressing this paradox is the lack of a coordinated, transparent system to connect food donors with charitable organizations in a timely manner. Prasadam addresses these logistical inefficiencies by establishing a reliable digital bridge between verified Non-Governmental Organizations (NGOs) and food donors. The system is engineered using a Flask (Python) backend to ensure a lightweight and scalable server architecture, integrated with Google Firebase to facilitate real-time data synchronization. This technical stack enables the platform to provide instantaneous notifications to NGOs located in the vicinity of a donation listing, thereby preventing food spoilage due to communication delays. Index Terms - Food Waste Management, Surplus Food Distribution, Flask Framework, Firebase Real-time Database, Web Application, NGO Coordination. Introduction In recent years, the dichotomy between surplus food production and widespread hunger has become a pressing social challenge. Statistics indicate a "paradox on every plate," where approximately 40% of the food produced in India is wasted, while countless restaurants and events dispose of perfectly good surplus meals daily. Simultaneously, an estimated 190 million people in India go to sleep hungry, often hoping for their next meal within the very cities where this waste occurs. This stark contrast highlights the urgent need for systemic interventions that can efficiently redirect resources from areas of surplus to areas of scarcity. Despite the availability of surplus food, significant challenges hinder its effective redistribution. The key issues include the lack of a coordinated system to connect potential donors with those in need, as well as logistical hurdles that prevent timely food collection before spoilage occurs. Furthermore, existing methods often suffer from a lack of trust and transparency between donors and charitable organizations. Without a reliable digital bridge, meaningful attempts to curb food wastage often fail due to communication gaps and the perishable nature of the resources involved. The primary objective of the Prasadam project is to create a robust system that efficiently manages the lifecycle of a food donation. The specific goals of the platform are to be user-friendly, fast, and transparent, providing an intuitive interface for both donors and NGOs while ensuring clear tracking and communication between parties. By facilitating the organized collection and distribution of surplus food, the project aims to reduce local food waste and significantly support community hunger relief efforts. SYSTEM ARCHITECTURE The Prasadam platform is designed as a centralized web-based solution that facilitates real-time interaction between three primary stakeholders: Donors, NGOs, and Administrators. The system architecture is built on a robust technical stack utilizing open-source web technologies to ensure cost-effectiveness and scalability. The frontend interface is structured using HTML to define the web page components, while CSS is employed to manage visual presentation and ensure responsiveness across different devices. To make the website interactive and dynamic, JavaScript is integrated for client-side scripting, handling tasks such as real-time validations and asynchronous data handling. Functionally, the system is organized into five distinct modules to manage specific operations efficiently. The User Authentication Module handles registration and login for all user types, while the Donation Listing Module allows donors to create and manage their food listings. The NGO Dashboard Module is designed for verified organizations to view and claim available donations in their vicinity. Additionally, a Notification Module sends real-time alerts to NGOs when new donations appear in their area, and an Admin Module provides oversight capabilities, allowing administrators to verify NGO documents and maintain platform integrity. To visualize the system's structure and behavior, the architecture was modeled using the Unified Modeling Language (UML). A Use Case Diagram was designed to define the interactions between the actors—Donor, NGO, and Admin—and the system functionalities like claiming food or verifying users. The static structure is represented by a Class Diagram, which defines entities such as Users, Donations, and NGOs. To map the workflow, a Sequence Diagram illustrates the order of operations for a donation request, from the donor's submission to the database save and subsequent notification. Finally, an Activity Diagram details specific process flows, such as the NGO verification path, ensuring the logical design supports the operational goals of the platform Key Features I. Centralized User Management The system provides a unified platform with secure authentication and registration for four distinct user roles: Donors (Hotels/Restaurants), NGOs, Drivers, and Administrators. Each user is assigned a unique profile to maintain accountability and secure data storage. II. Dynamic Donation Listing Donors can easily create detailed listings for surplus food, specifying the food type (cooked or packaged), quantity (number of people), and a convenient pickup time window. This ensures clarity and readiness for the receiving organizations. III. Real-Time Notification System Powered by Google Firebase, the platform sends instant alerts to verified NGOs located in the vicinity of a donor immediately after a listing is posted. This real-time synchronization eliminates communication delays and prevents food spoilage. IV. NGO Verification and Security To ensure trust and safety, the platform includes a robust verification mechanism where Administrators review and validate NGO documents before granting access. Only verified NGOs can view available listings and claim food donations. V.Efficient Logistics and Pickup The system features a dedicated "Driver Panel" that facilitates the assignment of drivers to specific pickups once an NGO claims a donation. Drivers can view assigned pickup locations and delivery details to ensure timely transport. VI.Cross-Platform Accessibility The web application is built with a responsive frontend using HTML, CSS, and JavaScript, ensuring it is accessible and functional across various devices, including desktops, tablets, and smartphones. IMPLEMENTATION The implementation of the Prasadam platform is executed through a layered approach, integrating a responsive frontend with a robust server-side logic and a real-time cloud database. The user interface is constructed using HTML (Hypertext Markup Language) to define the structural elements of the web pages, including login forms, donation input sections, and dashboards. To ensure a consistent and visually appealing design across various devices, CSS (Cascading Style Sheets) is utilized to control the layout, color schemes, and responsiveness of the application. Furthermore, JavaScript acts as the client-side scripting language, enhancing user experience by enabling real-time form validations, dynamic content updates, and asynchronous data handling without requiring full page reloads. The operational workflow of the system is divided into distinct user panels. The Landing Page serves as the primary entry point, offering login options for Hotels, NGOs, and Drivers. Upon authentication, donors utilize the Hotel Request Page to raise surplus food requests by entering details such as food type and quantity. These listings are immediately reflected on the NGO Dashboard, where verified organizations can browse and claim donations from affiliated or public donors. Once a donation is claimed, the Driver Panel assigns the pickup task, displaying the location and delivery details to the driver. Simultaneously, the Admin Panel allows administrators to review and verify new NGO registrations, ensuring that only legitimate organizations participate in the network. Methodology The development process included requirement analysis, architectural planning, coding, and testing. The backend was built with Node.js and WebSocket libraries, the frontend used modular components, and a secure database stored user data. The system underwent functional testing, security checks, and basic load testing to ensure stable performance. Future Enhancements (Extra Points) While the current implementation of "Prasadam" successfully bridges the gap between donors and NGOs, several enhancements are proposed to further improve scalability, efficiency, and user accessibility in future iterations. • Mobile Application Development: The current platform is web-based. Future development aims to create dedicated mobile applications for Android and iOS platforms to provide easier access for users on the go and expand the user base. •AI-Powered Demand Prediction: Integrating Artificial Intelligence (AI) and Machine Learning algorithms will enable the system to forecast food shortage areas and estimate demand trends, allowing for proactive rather than reactive food distribution. • Real-Time GPS Logistics: To optimize the delivery process, the system will incorporate GPS-based real-time route tracking. This will improve pickup logistics by guiding drivers via the shortest routes, thereby reducing fuel consumption and delivery time. Automated Logistics Optimization: Future updates will implement automated driver allocation algorithms that assign pickups based on distance, current workload, and time constraints, ensuring the most efficient resource utilization. User Experience Considerations The interface is kept simple and visually clear to avoid user confusion. Real-time updates, visual indicators, and responsive layout improve usability. Minimal clicks and intuitive navigation ensure smooth interaction. Future Scope of the Project Add Group Chat Feature: The system can be expanded to support group conversations, allowing multiple users to chat in a single room. Media Sharing Support: Features like sending images, videos, audio files, documents, and voice notes can be added to make chatting more interactive. End-to-End Encryption: Implementing stronger encryption can greatly improve message privacy and security. Push Notifications: Real-time notifications for incoming messages, even when the user is not active on the website, can enhance usability. Message Reactions and Emojis: Adding reaction options, emoji support, and GIFs can make communication more expressive. Chat Backup and Restore: Users can be given the option to back up their chats and restore them when needed. Conclusion The "Prasadam" project successfully establishes a digital bridge between food donors and NGOs, ensuring that surplus food reaches those in need rather than being wasted. By leveraging technologies such as a Flask backend and Firebase real-time database, the platform facilitates an efficient, transparent, and coordinated food distribution process, providing secure storage and instant updates. The system effectively minimizes food wastage through simplified donation listings, real-time NGO notifications, and driver assignment functionality. Furthermore, the user-friendly interface ensures easy adoption by donors, NGOs, and drivers, while the scalable and cost-effective design makes the system practically viable for real-world deployment. Ultimately, the system fulfills its primary objective of contributing to society by reducing food waste and supporting hunger relief efforts. REFERENCES [1] RFC 6455: The WebSocket Protocol. [2] OWASP Foundation Security Guidelines. [3] Node.js Official Documentation. ABOUT THE AUTHORS Ankit Ajmera is a Graduate Student at JECRC University with a strong interest in web development and user experience design. He has practical experience with modern frontend frameworks and responsive interface creation. Rahul Goyal is currently a Graduate Student at JECRC University, pursuing his degree in Computer Science. His research interests focus on the application of Machine Learning (ML) techniques to enhance system security and efficiency. Vedant Vaya is a Graduate Student at JECRC University. His research focuses on distributed systems and networking protocols, exploring methods for achieving low-latency communication and developing scalable server architectures. Devanshi Shikhwal is aa Graduate Student at JECRC University. His research handled fast connection between the front end and the back end of the project and is also responsible in maintaining data .
About the authors