How mariamabumajd/afyatech works
Afyatech appears to be a Flutter healthcare app for finding doctors, booking and paying for appointments, checking in, and managing medical records and patient services. The likely primary journey runs from app entry and authentication through doctor discovery, booking, payment, and appointment confirmation. The tree also shows distinct tracking, records, wallet/rewards, profile, and support capabilities. Dart implementation files were not excerpted and the README is only a Flutter-project starter, so workflow links are dashed and unverified; the graph reflects the visible file organization, not inspected call paths.
Main entry points: home_screen.dart Home · booking_screen.dart Appointment booking · profile_screen.dart Patient profile · auth_service.dart Authentication
Components 28
Patient journey
- Onboarding
lib/onboarding_screen.dart - Authentication
lib/backend/auth_service.dart - Home
lib/home_screen.dart - Doctor search
lib/doctors_screen.dart - Doctor details
lib/doctor_details_screen.dart - Appointment booking
lib/booking_screen.dart - Priority request
lib/priority_request_flow.dart - Payment
lib/payment_screen.dart - Booking confirmation
lib/appointment_success_screen.dart
Care services
- Check-in
lib/check_in_screen.dart - Check-in confirmation
lib/check_in_success_screen.dart - Appointment tracking
lib/tracking_screen.dart - Medical records
lib/medical_records_screen.dart - Record search
lib/search_records_screen.dart - Medical preferences
lib/medical_preferences_screen.dart
Patient account
- Patient profile
lib/profile_screen.dart - Personal information
lib/edit_personal_info_screen.dart - Password change
lib/change_password_screen.dart - Wallet
lib/my_wallet_screen.dart - Rewards
lib/rewards_screen.dart - Notifications
lib/notification_screen.dart - Support chatbot
lib/support_chatbot_screen.dart
App foundation
- App entry
lib/main.dart - Firestore service
lib/backend/firestore_service.dart - Storage service
lib/backend/storage_service.dart - Dify service
lib/dify_service.dart - Desktop host
windows/runner/flutter_window.cpp
Other components
- Patient
Connections 28
- Patient → App entry: opens
- App entry → Onboarding: starts
- Onboarding → Authentication: continues to
- Authentication → Home: enters
- Home → Doctor search: searches
- Doctor search → Doctor details: selects
- Doctor details → Appointment booking: books
- Appointment booking → Payment: proceeds to
- Payment → Booking confirmation: confirms
- Appointment booking → Priority request: may request
- Booking confirmation → Check-in: checks in
- Check-in → Check-in confirmation: confirms
- Booking confirmation → Appointment tracking: tracks
- Home → Medical records: opens
- Medical records → Record search: searches
- Patient profile → Medical preferences: manages
- Home → Patient profile: opens
- Patient profile → Personal information: edits
- Patient profile → Password change: changes
- Home → Wallet: opens
- Home → Rewards: opens
- Home → Notifications: views
- Home → Support chatbot: opens
- Support chatbot → Dify service: may use
- Authentication → Firestore service: may access
- Appointment booking → Firestore service: may access
- Medical records → Storage service: may access
- Desktop host → App entry: hosts