How mepriyanshurajbanshi11/lifeline-blood-bank-platform works
Lifeline is a blood-donor emergency matcher for hospitals and blood banks. Organizations register and await verification, then search providers and stock or submit blood requests; providers manage request status through delivery, while donor matching supports a separate emergency-request workflow. The browser also exposes notifications and admin verification. The sampled backend shows database-backed authentication, provider search, inventory, organizational requests, notifications, and administration. Donor-matching backend details and some client wiring were not sampled, so those relationships are left unverified.
Main entry points: app.js Dashboard and workflows · db.js Database access · server.js Provider and stock search
Components 12
Web client
- Dashboard and workflows
public/app.js - Visual effects
public/fx.js
Matching and operations
- Provider and stock search
src/server.js - Blood inventory
src/server.js - Organization requests
src/server.js - Emergency donor matching
src/server.js - Notifications
src/server.js - Account verification
src/server.js
Identity and persistence
- Registration and sessions
src/server.js - Database access
src/db.js
Other components
- Hospital or blood bank
- MySQL database
Connections 14
- Hospital or blood bank → Dashboard and workflows: uses
README.md - Dashboard and workflows → Registration and sessions: sends API requests
public/app.js - Dashboard and workflows → Provider and stock search: searches providers
public/app.js - Dashboard and workflows → Organization requests: submits requests
public/app.js - Dashboard and workflows → Emergency donor matching: responds to matches
public/app.js - Registration and sessions → Database access: reads and writes
src/server.js - Provider and stock search → Database access: queries stock
src/server.js - Blood inventory → Database access: writes inventory
src/server.js - Organization requests → Database access: manages requests
src/server.js - Notifications → Database access: reads and updates
src/server.js - Account verification → Database access: verifies accounts
src/server.js - Database access → MySQL database: queries
src/db.js - Dashboard and workflows → Notifications: loads notifications
public/app.js - Dashboard and workflows → Account verification: loads admin users
public/app.js