Jivandan — Emergency Blood & Component Donation Network
A real-time emergency blood donation and inventory management ecosystem connecting donors, blood banks, and critical care units with automated 42-day shelf-life tracking.
The Challenge & Engineering Friction
The Technical Solution & Architecture
Core Architectural Decisions
3-Tier MVC Architecture & State Layer
Architected around a structured Model-View-Controller paradigm utilizing Node.js and Express.js with server-side rendered Handlebars views and Mongoose ODM. Schemas enforce strict validation across Donors, Blood Banks, Blood Requests, and Donation Histories with virtual properties for real-time age and eligibility computations.
Multi-Tier RBAC & Audit Security Layer
Employs defense-in-depth security with bcryptjs password hashing (10+ salt rounds), JWT-backed session tokens, and middleware route guards that enforce strict permissions across donors, bank managers, and system administrators. Every state alteration and emergency fulfillment is immutably logged to an activitylogs audit collection.
High-Availability Database & Cloud Infrastructure
Powered by MongoDB with compound indexing on blood groups, geolocation city/pincodes, and urgency levels for sub-180ms query execution. Designed for containerized deployment across cloud environments with serverless HTTP adaptation and high fault tolerance.
