Feature: add Google Drive backup and restore integration

This commit is contained in:
Ponte
2026-02-11 20:19:16 +01:00
parent 621beee036
commit 81d966b64a
9 changed files with 484 additions and 0 deletions

View File

@@ -71,6 +71,13 @@ API_PORT=7002
VG_DB_NAME=video_games
VG_DB_USER=video_games_user
VG_DB_PASSWORD=change_me
APP_BASIC_AUTH_USER=beuz
APP_BASIC_AUTH_PASSWORD=change_me_now
PUBLIC_BASE_URL=http://localhost:7001
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT_URI=
GOOGLE_DRIVE_FOLDER_NAME=BeuzGamesBackups
```
Tu peux mettre `7000` si ce port est libre sur ta machine.
@@ -149,6 +156,13 @@ git pull
- POST `/api/backup/restore` (modes `merge` ou `replace`)
- snapshot auto en base avant restore `replace` (`backup_snapshots`)
- actions accessibles dans le panneau lateral `Outils`
- Etape 7: sauvegarde/restauration Google Drive (OAuth)
- GET `/api/google/status`
- GET `/api/google/connect-url`
- GET `/auth/google/callback`
- POST `/api/google/backup/upload`
- GET `/api/google/backups`
- POST `/api/google/backup/restore`
## Import Excel (COLLECTIONS.xlsx)