Step 3 migration: frontend reads API with local fallback
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user