Add full project structure: backend API + frontend
- 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>
This commit is contained in:
parent
36b918b95d
commit
614d5af397
20 changed files with 2419 additions and 0 deletions
16
api/.env.example
Normal file
16
api/.env.example
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# ── 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue