How muhammadahmadraza5088/dental_cleanic works
This is a Django dental-appointment dashboard with staff-facing appointment management and a Vapi webhook for booking, checking, cancelling, and rescheduling appointments. Staff requests route through the project and app URL configurations to views; those views access appointment records and render HTML or return webhook results. The appointment model is stored in SQLite. The README is empty, so the map is based on the file tree and sampled source; unsampled implementation details are omitted.
Main entry points: models.py Appointment model · views.py Staff views · dental_dashboard/urls.py Project routes · appointments/urls.py Appointment routes
Components 16
Web routing
- Project routes
dental_dashboard/dental_dashboard/urls.py - Appointment routes
dental_dashboard/appointments/urls.py
Staff management
- Staff views
dental_dashboard/appointments/views.py - Dashboard page
dental_dashboard/appointments/templates/appointments/dashboard.html - Add page
dental_dashboard/appointments/templates/appointments/add_appointment.html - Edit page
dental_dashboard/appointments/templates/appointments/edit_appointment.html
Voice operations
- Vapi webhook
dental_dashboard/appointments/views.py - Book appointment
dental_dashboard/appointments/views.py - Check appointment
dental_dashboard/appointments/views.py - Cancel appointment
dental_dashboard/appointments/views.py - Reschedule appointment
dental_dashboard/appointments/views.py
Appointment data
- Appointment model
dental_dashboard/appointments/models.py - SQLite database
dental_dashboard/db.sqlite3 - Admin registration
dental_dashboard/appointments/admin.py
Other components
- Staff user
- Vapi assistant
Connections 20
- Staff user → Project routes: requests pages
- Project routes → Appointment routes: includes routes
- Appointment routes → Staff views: dispatches staff
- Staff views → Appointment model: queries and updates
- Staff views → Dashboard page: renders dashboard
- Staff views → Add page: renders form
- Staff views → Edit page: renders form
- Vapi assistant → Project routes: posts webhook
- Appointment routes → Vapi webhook: dispatches webhook
- Vapi webhook → Book appointment: dispatches tool
- Vapi webhook → Check appointment: dispatches tool
- Vapi webhook → Cancel appointment: dispatches tool
- Vapi webhook → Reschedule appointment: dispatches tool
- Book appointment → Appointment model: checks and creates
- Check appointment → Appointment model: queries
- Cancel appointment → Appointment model: queries and updates
- Reschedule appointment → Appointment model: checks and updates
- Appointment model → SQLite database: persists records
- Project routes → Admin registration: routes admin
- Admin registration → Appointment model: registers model