How hamna-fatima/meditrack-hospital-management-system works
MediTrack is a role-based hospital management system: staff and patients use the application to authenticate, manage hospital workflows, and view role-scoped records and analytics. The documented workflow spans authentication and access control, patient and appointment management, clinical records and prescriptions, and dashboard/search results backed by Atlas or an isolated preview store. The supplied tree omits the referenced server submodules and frontend source, so those components are represented with null paths; their capabilities and links rely on README documentation rather than inspected implementations.
Main entry points: server.ts Express server
Components 16
Application access
- Web application
- Express server
server.ts - Authentication
- Role permissions
- REST API router
Hospital operations
- Patient profiles
- Appointments
- User accounts
Clinical care
- Medical records
- Prescriptions
Persistence and insight
- Dashboard analytics
- Global search
- Store selection
- MongoDB Atlas
- Preview store
Other components
- Staff or patient
Connections 17
- Staff or patient → Web application: uses
README.md - Web application → Express server: sends requests
README.md - Express server → Store selection: loads
server.ts - Express server → REST API router: mounts
server.ts - REST API router → Authentication: serves auth
README.md - REST API router → Role permissions: enforces roles
README.md - REST API router → User accounts: manages accounts
README.md - REST API router → Patient profiles: manages profiles
README.md - REST API router → Appointments: manages bookings
README.md - REST API router → Medical records: manages records
README.md - REST API router → Prescriptions: manages orders
README.md - REST API router → Dashboard analytics: serves metrics
README.md - REST API router → Global search: serves search
README.md - Store selection → MongoDB Atlas: uses when configured
README.md - Store selection → Preview store: falls back to
README.md - Dashboard analytics → Patient profiles: counts records
- Dashboard analytics → Appointments: counts bookings