- android app
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 55s

- code import fix
This commit is contained in:
Torsten Schulz (local)
2026-08-10 15:15:11 +02:00
parent 616bade9a5
commit 5f2de5e671
93 changed files with 693 additions and 1 deletions

38
desktop-app/README.md Normal file
View File

@@ -0,0 +1,38 @@
# 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
```bash
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:
```bash
flutter run -d linux \
--dart-define=APP_ENV=staging \
--dart-define=API_BASE_URL=https://staging.tt-tagebuch.de/api
```
## Qualität
```bash
dart format --output=none --set-exit-if-changed .
flutter analyze
flutter test
```
Zugangsdaten und JWTs gehören nie in Logs, Quellcode oder Build-Konfiguration.