How youssef-fullstack/cabinet-_web works
DentalClinic is a dental-practice management application with a React web/mobile client and an ASP.NET API. Clinic staff sign in, navigate operational views, and use API-backed patient, appointment, clinical-record, payment, team, audit, settings, and subscription workflows. The frontend API client also handles web-cookie versus native-token authentication. Backend endpoint-to-database and optional payment-provider wiring is not established by the excerpts; those relationships are therefore left unconnected. The web_v5_backup tree is a separate historical copy and is not mapped here.
Main entry points: App.tsx App shell · AppDbContext.cs Clinic data context · api.ts API client · Abonnement.tsx Subscriptions
Components 34
Client application
- App shell
VERSION DE LAPPLICATION/web/frontend/src/App.tsx - API client
VERSION DE LAPPLICATION/web/frontend/src/api.ts - Billing models
VERSION DE LAPPLICATION/web/frontend/src/billing.ts - Avatar UI
VERSION DE LAPPLICATION/web/frontend/src/components/Avatar.tsx - Icon library
VERSION DE LAPPLICATION/web/frontend/src/components/Icons.tsx - Modal UI
VERSION DE LAPPLICATION/web/frontend/src/components/Modal.tsx - Date utilities
VERSION DE LAPPLICATION/web/frontend/src/dates.ts
Clinic workflows
- Patient directory
VERSION DE LAPPLICATION/web/frontend/src/pages/Patients.tsx - Patient records
VERSION DE LAPPLICATION/web/frontend/src/pages/PatientFile.tsx - Dental chart
VERSION DE LAPPLICATION/web/frontend/src/Odontogram.tsx - Appointments
VERSION DE LAPPLICATION/web/frontend/src/pages/Agenda.tsx - Dashboard
VERSION DE LAPPLICATION/web/frontend/src/pages/Dashboard.tsx - Payments
VERSION DE LAPPLICATION/web/frontend/src/pages/Caisse.tsx - Team management
VERSION DE LAPPLICATION/web/frontend/src/pages/Team.tsx - Audit log
VERSION DE LAPPLICATION/web/frontend/src/pages/Audit.tsx - Clinic settings
VERSION DE LAPPLICATION/web/frontend/src/pages/Settings.tsx - Subscriptions
VERSION DE LAPPLICATION/web/frontend/src/pages/Abonnement.tsx
API platform
- Authentication endpoints
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Endpoints/AuthEndpoints.cs - API endpoints
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Endpoints - Authentication
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Auth/Auth.cs - Clinic data context
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Data/AppDbContext.cs - Clinic entities
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Domain/Entities.cs - Medical domain
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Domain/Medical.cs - Audit service
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Data/AuditService.cs - API host
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Program.cs - File storage
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Services/FileStore.cs - Plan service
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Services/Plans.cs - CSV export
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Services/Csv.cs - Dashboard endpoint
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Endpoints/DashboardEndpoints.cs - Patient endpoints
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Endpoints/PatientEndpoints.cs - Patient-file endpoints
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Endpoints/PatientFileEndpoints.cs - Medical endpoints
VERSION DE LAPPLICATION/web/backend/DentalClinic.Api/Endpoints/MedicalEndpoints.cs
Runtime services
- Native bridge
VERSION DE LAPPLICATION/web/frontend/src/native.ts
Other components
- Clinic staff
Connections 34
- Clinic staff → App shell: uses
VERSION DE LAPPLICATION/web/frontend/src/App.tsx - App shell → API client: requests identity
VERSION DE LAPPLICATION/web/frontend/src/App.tsx - App shell → Avatar UI: renders
VERSION DE LAPPLICATION/web/frontend/src/App.tsx - App shell → Native bridge: uploads avatar
VERSION DE LAPPLICATION/web/frontend/src/App.tsx - API client → Native bridge: reads tokens
VERSION DE LAPPLICATION/web/frontend/src/api.ts - App shell → Patient directory: routes to
VERSION DE LAPPLICATION/web/frontend/src/App.tsx - App shell → Appointments: routes to
VERSION DE LAPPLICATION/web/frontend/src/App.tsx - App shell → Dashboard: routes to
VERSION DE LAPPLICATION/web/frontend/src/App.tsx - App shell → Payments: routes to
VERSION DE LAPPLICATION/web/frontend/src/App.tsx - App shell → Team management: routes to
VERSION DE LAPPLICATION/web/frontend/src/App.tsx - App shell → Audit log: routes to
VERSION DE LAPPLICATION/web/frontend/src/App.tsx - App shell → Clinic settings: routes to
VERSION DE LAPPLICATION/web/frontend/src/App.tsx - App shell → Subscriptions: routes to
VERSION DE LAPPLICATION/web/frontend/src/App.tsx - Appointments → API client: loads records
VERSION DE LAPPLICATION/web/frontend/src/pages/Agenda.tsx - Patient records → API client: loads patient file
- Patient records → Dental chart: renders chart
- Subscriptions → API client: loads plans
VERSION DE LAPPLICATION/web/frontend/src/pages/Abonnement.tsx - Subscriptions → Billing models: uses models
VERSION DE LAPPLICATION/web/frontend/src/pages/Abonnement.tsx - Subscriptions → Modal UI: renders checkout
VERSION DE LAPPLICATION/web/frontend/src/pages/Abonnement.tsx - API client → Authentication endpoints: calls auth route
VERSION DE LAPPLICATION/web/frontend/src/api.ts - API client → API endpoints: calls API routes
- API host → API endpoints: registers routes
- API host → Clinic data context: configures data
- Patient endpoints → Clinic data context: reads and writes
- Patient-file endpoints → Clinic data context: reads and writes
- Medical endpoints → Clinic data context: reads and writes
- Dashboard endpoint → Clinic data context: reads metrics
- Authentication endpoints → Authentication: authenticates
- Clinic data context → Clinic entities: stores
- Clinic data context → Medical domain: stores
- Audit service → Clinic data context: records events
- Patient-file endpoints → File storage: handles files
- API endpoints → Plan service: uses subscription plans
- API endpoints → CSV export: exports data