How sarsij1234/medicaldemo works
Mediora is a frontend-only clinic administration demo. A location administrator signs in, then uses routed screens to manage facility settings, staff and patients; schedule and book appointments; conduct consultations; and review health records, finances, and operational logs. Shared in-memory state is seeded from mock data and resets on refresh. The README documents broader screen capabilities than the sampled excerpts; those are represented at screen level, while unsampled implementation links are omitted. There is no backend or live external-service integration.
Main entry points: App.jsx Routes and auth gate · store.jsx In-memory state · main.jsx React entry · Layout.jsx Navigation and search
Components 24
Application shell
- React entry
src/main.jsx - Routes and auth gate
src/App.jsx - Navigation and search
src/components/Layout.jsx - Shared UI kit
src/components/UI.jsx - Demo sign-in
src/pages/Login.jsx
People and care
- Staff management
src/pages/Staff.jsx - Patient management
src/pages/Patients.jsx - Archived patients
src/pages/ArchivedPatients.jsx - Doctor schedule
src/pages/Schedule.jsx - Appointment booking
src/components/BookAppointment.jsx - Appointment list
src/pages/Appointments.jsx - Consultation room
src/pages/Consultation.jsx - Health records
src/pages/HealthInfo.jsx - Scan and share
src/pages/ScanShare.jsx
Clinic operations
- Clinic dashboard
src/pages/Dashboard.jsx - Facility profile
src/pages/ManageInfo.jsx - Tax and charges
src/pages/TaxCharges.jsx - Password settings
src/pages/ChangePassword.jsx
Records and reporting
- Finance screens
src/pages/Finance.jsx - Operational logs
src/pages/Logs.jsx - Population insights
src/pages/PopulationInsights.jsx
Demo state
- In-memory state
src/store.jsx - Mock data
src/data.js
Other components
- Location admin
Connections 44
- Location admin → React entry: opens portal
- React entry → Routes and auth gate: mounts
- React entry → In-memory state: provides state
- Routes and auth gate → Demo sign-in: routes unauthenticated
- Routes and auth gate → Navigation and search: wraps authenticated screens
- Navigation and search → Routes and auth gate: renders outlet
- Navigation and search → In-memory state: reads and updates
- Routes and auth gate → Clinic dashboard: routes
- Routes and auth gate → Facility profile: routes
- Routes and auth gate → Staff management: routes
- Routes and auth gate → Patient management: routes
- Routes and auth gate → Archived patients: routes
- Routes and auth gate → Doctor schedule: routes
- Routes and auth gate → Appointment list: routes
- Routes and auth gate → Consultation room: routes
- Routes and auth gate → Health records: routes
- Routes and auth gate → Scan and share: routes
- Routes and auth gate → Tax and charges: routes
- Routes and auth gate → Finance screens: routes
- Routes and auth gate → Operational logs: routes
- Routes and auth gate → Population insights: routes
- Routes and auth gate → Password settings: routes
- Demo sign-in → In-memory state: auth state
- Clinic dashboard → In-memory state: reads and updates
- Facility profile → In-memory state: reads and updates
- Staff management → In-memory state: reads and updates
- Patient management → In-memory state: reads and updates
- Archived patients → In-memory state: reads and updates
- Doctor schedule → In-memory state: reads and updates
- Doctor schedule → Appointment booking: opens booking
- Appointment booking → In-memory state: gets slots and books
- Appointment list → In-memory state: reads and updates
- Appointment list → Consultation room: opens consultation
- Consultation room → In-memory state: loads and completes
- Health records → In-memory state: reads and updates
- Scan and share → In-memory state: reads and updates
- Tax and charges → In-memory state: reads and updates
- Finance screens → In-memory state: reads and updates
- Finance screens → Mock data: reads mock records
- Operational logs → Mock data: reads mock records
- Population insights → In-memory state: reads state
- Password settings → In-memory state: updates state
- In-memory state → Mock data: initializes from
- Routes and auth gate → Shared UI kit: screens use shared controls