How truckgreen/consultorio_issac works
EQUILIBRA is a clinic-services, appointment-booking, and administration platform with a root React web client, a separate React client under aplicacion/, and a documented native Android client. The main patient workflow is browsing services, optionally using clinical guidance, booking an appointment, and consulting its code; staff manage appointments and patient records. Supabase and local storage provide web persistence, while the README describes Room and Supabase for Android. Several component relationships are based on the README or SOURCE INDEX; unsampled details are not expanded into speculative flows.
Main entry points: src/App.tsx Web app shell · AdminPanelView.tsx Admin panel · src/App.tsx Android-associated web client · BookingModal.tsx Booking flow
Components 21
Patient experience
- Web app shell
src/App.tsx - Services catalog
src/components/ServicesGrid.tsx - Service data
src/data/servicesData.ts - Clinical guidance
src/components/InteractiveAssessment.tsx - Booking flow
src/components/BookingModal.tsx - Booking utilities
src/utils/bookingUtils.ts - Appointment portal
src/components/PatientPortalModal.tsx
Clinic operations
- Admin panel
src/components/AdminPanelView.tsx - Appointment management
src/components/admin/AppointmentsManagerView.tsx - Patient records
src/components/admin/PatientDetailModal.tsx - Service pricing
src/components/admin/ServicesPricingView.tsx
Persistence and services
- Web persistence
src/lib/supabase.ts - Staff security
src/utils/security.ts - Server
server.ts - Email service
serverEmail.ts
Android client
- Android app
aplicacion/app - Android-associated web client
aplicacion/src/App.tsx - Android web booking
aplicacion/src/components/BookingSection.tsx - Android web admin
aplicacion/src/components/admin/AppointmentsManagerView.tsx - Android web persistence
aplicacion/src/lib/supabase.ts
Other components
- Patients
Connections 19
- Patients → Web app shell: uses
README.md - Web app shell → Services catalog: renders
src/App.tsx - Services catalog → Service data: reads
src/components/ServicesGrid.tsx - Web app shell → Clinical guidance: renders
src/App.tsx - Web app shell → Booking flow: opens
src/App.tsx - Booking flow → Booking utilities: uses
- Booking flow → Web persistence: persists
- Web app shell → Appointment portal: opens
src/App.tsx - Admin panel → Appointment management: renders
- Admin panel → Patient records: opens
src/components/AdminPanelView.tsx - Admin panel → Service pricing: renders
- Admin panel → Web persistence: reads and writes
src/components/AdminPanelView.tsx - Web persistence → Staff security: gets auth headers
src/lib/supabase.ts - Server → Email service: uses
server.ts - Android app → Android-associated web client: includes client
README.md - Android-associated web client → Android web booking: renders
- Android-associated web client → Android web admin: renders
aplicacion/src/App.tsx - Android-associated web client → Android web persistence: uses
aplicacion/src/App.tsx - Android app → Android web persistence: syncs appointments
README.md