Step 3 migration: frontend reads API with local fallback

This commit is contained in:
Ponte
2026-02-11 15:00:40 +01:00
parent 89d9275e1a
commit adc7ec193e
7 changed files with 177 additions and 2 deletions

View File

@@ -87,6 +87,7 @@ docker compose up -d --build
- [http://localhost:7002/health](http://localhost:7002/health)
- [http://localhost:7002/api/catalog/summary](http://localhost:7002/api/catalog/summary)
- [http://localhost:7002/api/catalog/tree](http://localhost:7002/api/catalog/tree)
- [http://localhost:7001/api/catalog/full](http://localhost:7001/api/catalog/full) (via proxy Nginx frontend)
### 4) Arreter
@@ -128,6 +129,7 @@ git pull
- tables: `brands`, `consoles`, `games`
- trigger `updated_at` sur `games`
- endpoints de lecture pour validation: `summary` et `tree`
- Etape 3: frontend lit l'API (`/api/catalog/full`) avec fallback `localStorage` si API vide ou indisponible
## Licence