Refactor code structure for improved readability and maintainability
Some checks failed
CI / lint (push) Failing after 10s
CI / test-backend (push) Has been skipped
CI / test-frontend (push) Has been skipped
CI / test-e2e (push) Has been skipped

This commit is contained in:
2026-03-22 11:34:38 +01:00
parent 5eaf320fc5
commit 2667e11284
46 changed files with 4949 additions and 157 deletions

View File

@@ -415,6 +415,42 @@ class MetadataService {
## Configuración y despliegue
### Configuración de variables de entorno
Para configurar las credenciales de las APIs externas en Quasar, sigue estos pasos:
#### 1. Archivo `.env`
El archivo [`backend/.env`](../../backend/.env) contiene las variables de entorno necesarias. Este archivo **NO** debe ser commiteado al repositorio (ya está incluido en [`.gitignore`](../../.gitignore)).
#### 2. Variables requeridas
Añade las siguientes variables a tu archivo [`backend/.env`](../../backend/.env):
```bash
# IGDB (Internet Game Database)
IGDB_CLIENT_ID=your_igdb_client_id_here
IGDB_CLIENT_SECRET=your_igdb_client_secret_here
# RAWG Video Games Database
RAWG_API_KEY=your_rawg_api_key_here
# TheGamesDB
THEGAMESDB_API_KEY=your_thegamesdb_api_key_here
```
#### 3. Archivo de ejemplo
El archivo [`backend/.env.example`](../../backend/.env.example) contiene todas las variables de entorno disponibles con sus descripciones. Úsalo como referencia cuando configures tu entorno.
#### 4. Instrucciones detalladas por API
Consulte la sección [Obtención de claves](#obtención-de-claves) para instrucciones detalladas sobre cómo obtener cada credencial:
- **IGDB**: [https://dev.twitch.tv/console](https://dev.twitch.tv/console)
- **RAWG**: [https://rawg.io/apicreate](https://rawg.io/apicreate)
- **TheGamesDB**: [https://thegamesdb.net/api.php](https://thegamesdb.net/api.php)
### Testing Without Real Keys
Para desarrollo/testing: