-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
79 lines (61 loc) · 2.49 KB
/
env.example
File metadata and controls
79 lines (61 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# ========================================
# CONFIGURACIÓN DE VARIABLES DE ENTORNO
# ========================================
# Copia este archivo como .env y configura los valores
# ========================================
# CONFIGURACIÓN DEL FRONTEND
# ========================================
# URL base de la API (REQUERIDO)
# URL donde está ejecutándose tu backend
VITE_API_BASE_URL=http://localhost:3000/api
# ========================================
# CONFIGURACIÓN DE DESARROLLO
# ========================================
# Modo demo (OPCIONAL)
# true = habilitar acceso demo, false = deshabilitar
VITE_DEMO_MODE=true
# Usar datos mock (OPCIONAL)
# true = usar datos de prueba, false = usar backend real
VITE_USE_MOCK_DATA=false
# ========================================
# CONFIGURACIÓN DE SEGURIDAD
# ========================================
# JWT Secret para tokens demo (OPCIONAL)
# Cambiar en producción
VITE_JWT_SECRET=change-this-in-production
# ========================================
# CONFIGURACIÓN DE DESARROLLO
# ========================================
# Modo demo (OPCIONAL)
# true = habilitar acceso demo, false = deshabilitar
VITE_DEMO_MODE=true
# Usar datos mock (OPCIONAL)
# true = usar datos de prueba, false = usar backend real
VITE_USE_MOCK_DATA=false
# ========================================
# CONFIGURACIÓN DE SEGURIDAD
# ========================================
# JWT Secret para tokens demo (OPCIONAL)
# Cambiar en producción
VITE_JWT_SECRET=change-this-in-production
# ========================================
# INSTRUCCIONES DE CONFIGURACIÓN
# ========================================
# 1. Copia este archivo como .env en la raíz del proyecto
# 2. Configura VITE_API_BASE_URL con la URL de tu backend
# 3. Reinicia el servidor de desarrollo después de los cambios
# ========================================
# NOTAS IMPORTANTES
# ========================================
# ✅ El frontend NO maneja credenciales de Google OAuth
# ✅ El backend es responsable de toda la configuración de autenticación
# ✅ El frontend solo necesita saber dónde está el backend
# ✅ Usa el "Acceso de Prueba" para probar sin configurar backend
# ========================================
# VERIFICACIÓN DE CONFIGURACIÓN
# ========================================
# Para verificar que todo esté configurado correctamente:
# 1. Ejecuta la aplicación
# 2. Ve a la página de login
# 3. Si hay errores, se mostrarán automáticamente
# 4. Usa el "Acceso de Prueba" para probar sin backend