How harshvardhanpandit447-ux/real-time-bed-availablity-managment-system- works
Mediloc is a hospital-discovery and bed-management application with citizen and hospital-staff portals. Citizens register or sign in, find hospitals and availability, and view nearby facilities; approved staff sign in to manage beds through admission, discharge, and cleaning, with audit records. The frontend communicates with Flask API routes, which enforce role and hospital access and persist application records. The README documents additional map and QR capabilities; excerpts show frontend QR rendering but not the backend QR implementation, so that relationship is left unasserted.
Main entry points: app.js Portal interactions · app.py Application database · index.html Web portal
Components 15
Portal experience
- Web portal
frontend/index.html - Portal interactions
frontend/app.js
Application services
- Portal authentication
app.py - Hospital discovery
app.py - Public bed directory
app.py - Staff dashboard data
app.py - Bed lifecycle
app.py - Cleaning workflow
app.py - Audit records
app.py - Bed QR workflow
app.py
Operational records
- Application database
app.py
External integrations
- Map library
- QR library
Other components
- Citizens
- Hospital staff
Connections 20
- Citizens → Web portal: use
README.md - Hospital staff → Web portal: use
README.md - Web portal → Portal interactions: loads
- Portal interactions → Portal authentication: authenticates
frontend/app.js - Portal interactions → Hospital discovery: requests hospitals
frontend/app.js - Portal interactions → Public bed directory: requests availability
README.md - Portal interactions → Staff dashboard data: loads staff beds
frontend/app.js - Portal interactions → Bed lifecycle: requests bed actions
frontend/app.js - Portal interactions → Bed QR workflow: requests QR
frontend/app.js - Portal authentication → Application database: reads accounts
app.py - Hospital discovery → Application database: reads hospitals
app.py - Public bed directory → Application database: reads beds
app.py - Staff dashboard data → Application database: reads beds
README.md - Bed lifecycle → Application database: updates beds
README.md - Bed lifecycle → Cleaning workflow: queues discharge
README.md - Cleaning workflow → Application database: updates cleaning records
app.py - Bed lifecycle → Audit records: records changes
README.md - Audit records → Application database: stores audit records
app.py - Bed QR workflow → QR library: renders code
- Portal interactions → Map library: displays hospital maps
README.md