How shainatg/truetest works
TrueTest is a health-information frontend for symptom guidance, disease and test education, provider discovery and price comparison, plus personal health records and reminders. The user enters through the app shell, opens a feature, and receives guidance or browsable information; account-oriented tools persist data through Supabase. The backend file is not mapped because the available evidence does not establish its role or connections. Relationships below are limited to shown routing, imports and documented-by-source-index data or service references.
Main entry points: App.tsx App shell · supabase.ts Supabase client · main.tsx Frontend entry · DiseaseDetails.tsx Disease details
Components 23
App access
- Frontend entry
frontend/src/main.tsx - App shell
frontend/src/App.tsx
Health guidance
- Disease catalog
frontend/src/pages/Diseases.tsx - Disease details
frontend/src/pages/DiseaseDetails.tsx - Disease information
frontend/src/data/diseases.ts - Symptom guidance
frontend/src/pages/SymptomChecker.tsx - Emergency help
frontend/src/pages/EmergencyHelp.tsx
Care discovery
- Test catalog
frontend/src/pages/AllTests.tsx - Test details
frontend/src/pages/TestDetails.tsx - Test information
frontend/src/data/medicalTests.ts - Hospital finder
frontend/src/pages/HospitalFinder.tsx - Provider directory
frontend/src/data/hospitals.ts - Price comparison
frontend/src/pages/PriceComparison.tsx - Price information
frontend/src/data/prices.ts
Personal health
- Digital health card
frontend/src/pages/HealthCard.tsx - Health locker
frontend/src/pages/HealthLocker.tsx - Health reminders
frontend/src/pages/HealthReminders.tsx - Wearable health
frontend/src/pages/WearableHealth.tsx - Login
frontend/src/pages/Login.tsx - Sign up
frontend/src/pages/Signup.tsx - Supabase client
frontend/src/supabase.ts
Other components
- User
- Supabase
Connections 26
- User → Frontend entry: opens app
frontend/src/main.tsx - Frontend entry → App shell: renders
frontend/src/main.tsx - App shell → Disease catalog: routes to
frontend/src/App.tsx - App shell → Disease details: routes to
frontend/src/App.tsx - App shell → Symptom guidance: routes to
frontend/src/App.tsx - App shell → Emergency help: routes to
frontend/src/App.tsx - App shell → Test catalog: routes to
frontend/src/App.tsx - App shell → Test details: routes to
frontend/src/App.tsx - App shell → Hospital finder: routes to
frontend/src/App.tsx - App shell → Price comparison: routes to
frontend/src/App.tsx - App shell → Digital health card: routes to
frontend/src/App.tsx - App shell → Health locker: routes to
frontend/src/App.tsx - App shell → Health reminders: routes to
frontend/src/App.tsx - App shell → Wearable health: routes to
frontend/src/App.tsx - App shell → Login: routes to
frontend/src/App.tsx - App shell → Sign up: routes to
frontend/src/App.tsx - Disease details → Disease information: reads
frontend/src/pages/DiseaseDetails.tsx - Test details → Test information: reads
frontend/src/pages/TestDetails.tsx - Hospital finder → Provider directory: reads
frontend/src/pages/HospitalFinder.tsx - Digital health card → Supabase client: uses
frontend/src/pages/HealthCard.tsx - Health locker → Supabase client: uses
frontend/src/pages/HealthLocker.tsx - Health reminders → Supabase client: uses
frontend/src/pages/HealthReminders.tsx - Wearable health → Supabase client: uses
frontend/src/pages/WearableHealth.tsx - Login → Supabase client: uses
frontend/src/pages/Login.tsx - Sign up → Supabase client: uses
frontend/src/pages/Signup.tsx - Supabase client → Supabase: connects to
frontend/src/supabase.ts