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:
@ -53,6 +53,13 @@ should be HTTPS through the reverse proxy.
|
||||
curl http://localhost:8080/health
|
||||
```
|
||||
|
||||
- For an Android emulator client, confirm the APK was built with the default
|
||||
`http://10.0.2.2:8090` URL or with an explicit server URL:
|
||||
|
||||
```bash
|
||||
flutter build apk --debug --dart-define=GAMETIME_API_BASE_URL=http://192.168.1.75:8090
|
||||
```
|
||||
|
||||
- Register a user with `POST /auth/register`.
|
||||
- Login with `POST /auth/login` and store the returned bearer token.
|
||||
- Call a protected endpoint without a token and confirm `401`.
|
||||
|
||||
Reference in New Issue
Block a user