Files
trainingstagebuch/backend/desktop-app
Torsten Schulz (local) ef8d99eaf4
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 53s
feat: implement authentication flow with login, password reset, and club selection
- Added dependencies for dio, flutter_secure_storage, and shared_preferences.
- Created ApiClient for handling API requests with token management.
- Implemented AuthRepository for authentication operations.
- Developed TokenStorage for secure token storage.
- Added AppSession to manage user session state and club selection.
- Created password reset pages for requesting and saving new passwords.
- Implemented ClubSelectionPage for selecting an active club.
- Updated widget tests to reflect new login flow and UI changes.
- Documented progress in FLUTTER_DESKTOP_APP_PLAN.md.
2026-07-30 10:54:02 +02:00
..

TT-Tagebuch Desktop

Eigenständige Flutter-/Dart-Desktop-App für Windows, macOS und Linux. Sie ist keine WebView: Die Oberfläche wird vollständig mit Flutter gebaut und nutzt die bestehende TT-Tagebuch-API.

Voraussetzungen

  • Flutter stable
  • Linux: CMake, Ninja, GTK-3-Entwicklungsbibliotheken und ein C++-Compiler
  • Windows: Visual Studio mit dem Workload „Desktop development with C++“
  • macOS: Xcode

Starten

flutter pub get
flutter run -d linux

Für die lokale API wird standardmäßig http://localhost:3005/api verwendet. Eine abweichende Umgebung wird ausschließlich beim Build gesetzt:

flutter run -d linux \
  --dart-define=APP_ENV=staging \
  --dart-define=API_BASE_URL=https://staging.tt-tagebuch.de/api

Qualität

dart format --output=none --set-exit-if-changed .
flutter analyze
flutter test

Zugangsdaten und JWTs gehören nie in Logs, Quellcode oder Build-Konfiguration.