- Move repo to project root to include both public/ and api/ - Add .gitignore excluding node_modules and .env - Include API routes (erase, gmail_oauth), services (mailer), and config Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
619 B
Text
16 lines
619 B
Text
# ── Copia este fichero como .env y rellena los valores ──
|
|
|
|
# Sal aleatoria para hashes de referencia (pon cualquier string largo)
|
|
SALT=pon-aqui-una-cadena-aleatoria-larga
|
|
|
|
# Google OAuth2 (Gmail API)
|
|
# Obtén estas credenciales en: https://console.cloud.google.com/
|
|
# → APIs y servicios → Credenciales → Crear credenciales → ID de cliente OAuth2
|
|
# → Tipo: Aplicación web
|
|
# → URI de redirección autorizado: https://resetea.net/api/gmail/callback
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
GOOGLE_REDIRECT_URI=https://resetea.net/api/gmail/callback
|
|
|
|
# Puerto del servidor (por defecto 8787)
|
|
PORT=8787
|