How pgh2005/tripsync works
TripSync is a Flutter travel-collaboration app. A user authenticates, creates or joins a trip, then collaborates through trip maps and shared expenses; the app also calculates balances. The graph preserves the README’s documented profile, Persian-date, marker-media, and Supabase capabilities. Source excerpts cover only platform scaffolding, so feature-level relationships below are based on README statements rather than inspected feature implementations.
Main entry points: presentation/screens Trip screens · trip_map_repository.dart Map markers · presentation/screens Expense screens · auth_service.dart Authentication
Components 18
Identity & app shell
- Authentication
lib/features/auth/data/services/auth_service.dart - Profile
lib/features/profile/presentation/profile_screen.dart - App routing
lib/core/router/app_router.dart
Trips & collaboration
- Trip screens
lib/features/trip/presentation/screens - Trip management
lib/features/trip/data/services/trip_service.dart - Trip records
lib/features/trip/data/models/trip_model.dart - Trip membership
lib/features/trip/data/models/trip_member_model.dart
Maps & media
- Trip map
lib/features/trip_map/presentation/screens/trip_map_Screen.dart - Map markers
lib/features/trip_map/data/repositories/trip_map_repository.dart - Marker media
lib/features/trip_map/data/services/marker_media_service.dart
Shared finances
- Expense screens
lib/features/expenses/presentation/screens - Expense records
lib/features/expenses/data/repositories/expense_repository.dart - Expense splits
lib/features/expenses/data/models/expense_split_model.dart - Balance overview
lib/features/balance_calculation/presentation/screens/balance_screen.dart - Balance calculator
lib/features/balance_calculation/data/services/balance_calculator.dart
Shared services
- Persian date picker
lib/features/trip/presentation/widget/date_picker/persian_date_picker_sheet.dart
Other components
- Traveler
- Supabase backend
Connections 16
- Traveler → Authentication: authenticates
README.md - Traveler → Trip screens: manages trips
README.md - Traveler → Trip map: shares locations
README.md - Traveler → Expense screens: tracks costs
README.md - Authentication → Supabase backend: uses authentication
README.md - Profile → Supabase backend: uses backend
README.md - Trip screens → Trip management: creates or joins
README.md - Trip management → Supabase backend: stores trip data
README.md - Trip screens → Persian date picker: offers date selection
README.md - Trip map → Map markers: manages markers
README.md - Map markers → Marker media: attaches media
README.md - Map markers → Supabase backend: uses backend storage
README.md - Expense screens → Expense records: manages expenses
README.md - Expense records → Expense splits: supports splitting
README.md - Expense screens → Supabase backend: uses backend
README.md - Balance overview → Balance calculator: shows calculations
README.md