3 Commits

Author SHA1 Message Date
m3mo
cc45831b59 Add environment configuration with flavor support
- Add AppConfig class for dev/prod environment settings
- Create main_dev.dart and main_prod.dart entry points
- Update datasources to use centralized API URL config
- Support --dart-define=ENV for runtime configuration
2026-02-04 14:38:12 +01:00
m3mo
fbccd5b7d9 Add back navigation from login to setup screen
- Add back button on login page for first-time online mode setup
- Allow users to return to setup screen and change their mode selection
- Add backToSetup localization string for English and German
2026-02-03 18:27:24 +01:00
m3mo
d8164be49a Add user authentication to Flutter frontend
- Create auth feature with Clean Architecture (domain/data/presentation)
- Add login and register pages with form validation
- Implement secure token storage with flutter_secure_storage
- Create AuthenticatedClient for automatic Bearer token headers
- Add AuthViewModel for global auth state management
- Update router with auth guards (redirect to login if not authenticated)
- Add logout option to settings page
- Update TaskRemoteDataSource to use authenticated client
- Add auth-related localization strings (EN/DE)
2026-02-02 22:58:07 +01:00