How costagit33/futpontos1 works
FutPontos1 is a native Flutter app for football points tracking, using an existing official API and PostgreSQL-backed persistence. The user-facing workflow spans app navigation, authentication, and feature screens for players, goalkeepers, history, profiles, and regulations; scoring rules are a distinct domain capability. The README confirms the HTTP client, scoring domain, and API integration, but the sampled source does not show Dart call sites or routing, so those links are marked unverified rather than asserted as observed.
Main entry points: main.dart App entry · api_client.dart HTTP client · players_page.dart Players screen · auth_page.dart Sign-in screen
Components 23
Flutter app
- App entry
app/lib/main.dart - App theme
app/lib/core/app_theme.dart - Sign-in screen
app/lib/pages/auth_page.dart - Admin screen
app/lib/pages/admin_page.dart - Players screen
app/lib/pages/players_page.dart - Goalkeepers screen
app/lib/pages/goalkeepers_page.dart - History screen
app/lib/pages/history_page.dart - Profile screen
app/lib/pages/profile_page.dart - Regulations screen
app/lib/pages/regulation_page.dart - Smart registration
app/lib/widgets/intelligent_registration_page.dart - Motion widgets
app/lib/widgets/motion.dart - Sports banner
app/lib/widgets/sports_banner.dart
Points and data
- Points calculator
app/lib/core/points_calculator.dart - Player data
app/lib/data/player.dart - Goalkeeper data
app/lib/data/goalkeeper.dart - History data
app/lib/data/history.dart - Analytics data
app/lib/data/analytics.dart
App services
- HTTP client
app/lib/core/api_client.dart - Authentication service
app/lib/services/auth_service.dart - Token storage
app/lib/services/token_storage.dart
Other components
- User
- Official API
- PostgreSQL
Connections 18
- User → App entry: opens app
- App entry → Sign-in screen: routes to
- App entry → Players screen: routes to
- App entry → Goalkeepers screen: routes to
- App entry → History screen: routes to
- App entry → Profile screen: routes to
- App entry → Regulations screen: routes to
- App entry → Admin screen: routes to
- App entry → Smart registration: routes to
- Sign-in screen → Authentication service: uses
- Authentication service → Token storage: uses
- Players screen → HTTP client: requests data
- Goalkeepers screen → HTTP client: requests data
- History screen → HTTP client: requests data
- Admin screen → HTTP client: requests data
- HTTP client → Official API: HTTP requests
- Official API → PostgreSQL: persists data
- Points calculator → Players screen: scores