How cypherr00/vitaltrack works
Vital Track is a Flutter health-tracking app, with modules for authentication, vital records, history, settings, and PDF export. The apparent user journey is app launch, sign-in or registration, then use of a home view and history; Supabase is indicated by the configuration and service paths. The README only describes a starter Flutter project, and Dart implementation excerpts were not provided, so workflow connections below are dashed and unverified rather than asserted as inspected calls.
Main entry points: main_layout.dart Main layout · splash_screen.dart Launch screen · home_screen.dart Home dashboard · history_screen.dart Vital history
Components 19
App navigation
- App entry
lib/main.dart - Launch screen
lib/features/splash/screens/splash_screen.dart - Main layout
lib/features/main/screens/main_layout.dart
Health tracking
- Home dashboard
lib/features/home/screens/home_screen.dart - Vital summary
lib/features/home/widgets/vital_summary_card.dart - Vital records
lib/core/models/vital_record.dart - Health thresholds
lib/core/models/health_threshold.dart - Vital history
lib/features/history/screens/history_screen.dart - PDF export
lib/core/services/pdf_export_service.dart
Identity and settings
- Sign in
lib/features/auth/screens/login_screen.dart - Registration
lib/features/auth/screens/register_screen.dart - Auth state
lib/core/providers/auth_provider.dart - User profile
lib/core/models/user_profile.dart - Settings
lib/features/settings/screens/settings_screen.dart - Theme state
lib/core/theme/theme_provider.dart
Services and platform
- Supabase service
lib/core/services/supabase_service.dart - Supabase config
lib/core/config/supabase_config.dart
Other components
- User
- Supabase
Connections 21
- User → App entry: launches
- App entry → Launch screen: starts
- Launch screen → Sign in: routes to
- Launch screen → Main layout: routes to
- User → Sign in: signs in
- User → Registration: registers
- Sign in → Auth state: uses
- Registration → Auth state: uses
- Main layout → Home dashboard: shows
- Main layout → Vital history: routes to
- Main layout → Settings: routes to
- Home dashboard → Vital summary: renders
- Vital summary → Vital records: presents
- Home dashboard → Health thresholds: uses
- Vital history → Vital records: shows
- Vital history → PDF export: exports
- Settings → User profile: edits
- Settings → Theme state: configures
- Auth state → Supabase service: uses
- Supabase service → Supabase config: uses
- Supabase service → Supabase: accesses