How m-wonder/physio-clinic-velma works
PhysioClinic is a full-stack clinic management system. Patients browse services and doctors, authenticate, choose a doctor and available slot, and book or manage appointments; staff also support walk-ins and treatment records. The React application calls a Django REST API, which provides account, catalog, appointment, and treatment capabilities. Celery handles appointment reminders and notification delivery by email or SMS. The README documents the major capabilities; some backend views and models were not excerpted, so links to those subsystems are limited to documented or indexed evidence.
Main entry points: tasks.py Notification delivery · BookAppointmentPage.jsx Booking flow · urls.py Django REST API · models.py Appointment records
Components 20
Patient Web App
- React routes
frontend/src/App.jsx - Session auth
frontend/src/store/authStore.js - API endpoints
frontend/src/api/endpoints.js - Booking flow
frontend/src/pages/BookAppointmentPage.jsx - Service catalog UI
frontend/src/pages/ServicesPage.jsx
Clinic API
- Django REST API
backend/physio_clinic/urls.py - Accounts and access
backend/physio_clinic/apps/accounts/views.py - Patient-data encryption
backend/physio_clinic/apps/accounts/encryption.py - Service catalog
backend/physio_clinic/apps/services/models.py - Doctor profiles
backend/physio_clinic/apps/accounts/models.py - Appointment records
backend/physio_clinic/apps/appointments/models.py - Slot availability
backend/physio_clinic/apps/appointments/utils.py - Treatment records
backend/physio_clinic/apps/treatments
Notifications
- Celery task setup
backend/physio_clinic/celery.py - Appointment reminders
backend/physio_clinic/apps/appointments/tasks.py - Notification delivery
backend/physio_clinic/apps/notifications/tasks.py - Notification logs
backend/physio_clinic/apps/notifications/models.py
Other components
- Patients and staff
- Email service
- SMS provider
Connections 22
- Patients and staff → React routes: uses
frontend/src/App.jsx - React routes → Session auth: checks auth
frontend/src/App.jsx - React routes → Booking flow: routes to
frontend/src/App.jsx - Booking flow → API endpoints: requests booking
frontend/src/api/endpoints.js - Service catalog UI → API endpoints: loads services
frontend/src/pages/ServicesPage.jsx - API endpoints → Django REST API: HTTP requests
frontend/src/api/endpoints.js - Django REST API → Accounts and access: routes auth
- Django REST API → Appointment records: routes appointments
- Django REST API → Service catalog: routes services
- Accounts and access → Patient-data encryption: uses
- Booking flow → Doctor profiles: lists doctors
- Booking flow → Slot availability: requests slots
- Booking flow → Appointment records: books appointment
- Appointment reminders → Appointment records: reads appointments
backend/physio_clinic/apps/appointments/tasks.py - Appointment reminders → Notification delivery: queues reminders
backend/physio_clinic/apps/appointments/tasks.py - Notification delivery → Appointment records: reads appointment
backend/physio_clinic/apps/notifications/tasks.py - Notification delivery → Notification logs: writes logs
backend/physio_clinic/apps/notifications/tasks.py - Notification delivery → Email service: sends email
backend/physio_clinic/apps/notifications/tasks.py - Notification delivery → SMS provider: sends SMS
backend/physio_clinic/apps/notifications/tasks.py - Celery task setup → Appointment reminders: runs tasks
backend/physio_clinic/apps/appointments/tasks.py - Celery task setup → Notification delivery: runs tasks
backend/physio_clinic/apps/notifications/tasks.py - Patients and staff → Treatment records: views records
README.md