PROJECT 16 • DAY 23 OF 90 • COMMUNITY REDISTRIBUTION & CIVIC ESG

ANNAPATH
FOOD REDISTRIBUTION.

A multi-role surplus food redistribution network connecting commercial kitchens with recipients and community organizations — featuring cryptographic OTP handovers, FSSAI safety enforcement, and verified impact analytics.

FastAPI 0.115+React 19.0TypeScript 5.7Tailwind CSS 4.0SQLAlchemy 2.0Leaflet GIS21/21 Pytest
ANNAPATH Preview
MULTI-ROLE
5 Platform Personas
PYTEST SUITE
21 / 21 Passed
Cryptographic OTP
Verified Handover Handshake
FSSAI Safety
Holding Temp & Time Enforced
Impact Audit
Verified kg Waste Avoided
21 / 21
Automated Pytest Passed
01 / Overview

CONNECTING SURPLUS HOTEL KITCHENS WITH URBAN COMMUNITIES.

Over 68 million tonnes of edible food is wasted in India annually while community food insecurity persists. ANNAPATH creates an accountable, transparent redistribution network verified by cryptographic OTP handovers.

01

Multi-Role Workspaces

Dedicated personas for Recipients, Hotel Owners, Hotel Staff, Volunteers, and Platform Administrators with instant 1-click persona switching.

02

Interactive Leaflet Discovery

Visual map and list views showing surplus batches with live portion counts, diet tags (Veg/Non-Veg), and Haversine distance.

03

Atomic Inventory Locking

High-concurrency transactions prevent double-booking or negative inventory allocations for limited community thalis.

04

Cryptographic OTP Handover

HMAC-SHA256 hashed OTPs verify direct counter pickups and volunteer doorstep deliveries with zero plaintext leakage.

05

FSSAI Food Safety Compliance

Mandatory hygiene suitability confirmations, temperature holding limits (hot holding >=60°C, chilled <=5°C), and safe collection windows.

06

Defensible ESG Impact Auditor

Calculates actual landfill waste avoided (kg) and greenhouse gas mitigation (CO2e) strictly from verified completed handovers.

02 / Architecture

HOW IT WORKS.

Modular monolith optimized for zero-config execution and fast automated testing.

STAGE 01

Surplus Listing

Hotel kitchen logs batch portions, dietary tags & safe window.

→
STAGE 02

Portion Locking

Recipient reserves meals; atomic DB lock prevents double-booking.

→
STAGE 03

OTP Generation

Secure 6-digit collection OTP dispatched to recipient screen.

→
STAGE 04

Counter Verification

Staff verifies hashed OTP before physical food handover.

→
STAGE 05

Impact Accrual

Verified delivery increments landfill diversion & CO2e metrics.

03 / Screenshots

APPLICATION SCREENSHOTS.

Live screens captured from the running application. Click any image to view full size, or follow setup instructions in the GitHub repository.

04 / Technical Details

PLATFORM CAPABILITIES & VERIFIED SPECS.

Key modules, rules, safety checks, and automated test results documented in the repository.

Subsystem Technical Implementation Verified Capability
Handover Security HMAC-SHA256 hashed 6-digit OTPs Zero unverified or false collection claims
Inventory Locking SQLAlchemy atomic row-level locks Zero negative or over-subscribed allocations
Spatial Geolocation Leaflet GIS + Haversine distance Sub-kilometer proximity kitchen discovery
Testing & Code Quality Pytest suite across all API routes 21 / 21 automated tests passed
05 / Tech Stack

CORE TECHNOLOGIES.

Frameworks, databases, visualization tools, and testing libraries used in ANNAPATH.

BACKEND API
FastAPI (Python 3.11+)
FRONTEND UI
React 19 • TypeScript 5.7
DATABASE ORM
SQLAlchemy 2.0 • SQLite
STYLING & GIS
Tailwind CSS 4.0 • Leaflet
SECURITY
HMAC-SHA256 OTP Hashes
TEST SUITE
Pytest (21/21 Passed)
06 / Next Steps

FUTURE ENHANCEMENTS.

Upcoming improvements planned for ANNAPATH.

Automated FSSAI food temperature sensor IoT probe integration via Bluetooth.
SMS/WhatsApp OTP fallback for recipients without smartphones or active mobile data.
Corporate CSR tax deduction receipt generator for partner hospitality chains.
OPEN-SOURCE PROJECT • GITHUB.COM/RAGURAMRRP

EXPLORE SOURCE & DOCS.

View the complete codebase, sample datasets, quick-launch scripts, and automated test suites on GitHub.