test(server): ajoute tests fonctionnels sync et fixtures versionnees (#187)

Fixe .gitignore pour exclure .build-home/ et .pub-cache-local/ des
environnements locaux de build (bruit non versionne). Documente le
checklist d'integration serveur et met a jour le README en consequence.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-31 16:58:07 +02:00
parent 05d91e3e84
commit 89558808af
16 changed files with 989 additions and 12 deletions

View File

@ -69,6 +69,21 @@ Expected response:
{"status":"ok"}
```
## Flutter Client URL
The Android emulator default client URL is `http://10.0.2.2:8090`, which maps to
port `8090` on the host machine. This matches the common Docker Compose setup
where `server/.env` exposes `API_PORT=8090` while the API container still
listens internally on `8080`.
Override the client URL at build or run time when the server uses another host
address or port:
```bash
flutter run --dart-define=GAMETIME_API_BASE_URL=http://192.168.1.75:8090
flutter build apk --debug --dart-define=GAMETIME_API_BASE_URL=http://192.168.1.75:8090
```
## Authentication
Ticket #48 adds account registration, login, logout and bearer-token request