# ── Database ──────────────────────────────────
#DATABASE_URL="postgresql://postgres:Feli2414@localhost:5432/control_asistencia"
DATABASE_URL="postgresql://velteccl_user_asistencia:ScAPii80DCXuQJ@localhost:5432/velteccl_control_asistencia?sslmode=require"

# Variables pg opcionales (para el script create-db.js)
#PGHOST=131.72.237.94
#PGPORT=5432
#PGUSER=velteccl_user_asistencia
#PGPASSWORD=ScAPii80DCXuQJ
#PGDATABASE=velteccl_control_asistencia

# Variables pg opcionales (para el script create-db.js)
# PGHOST=localhost
# PGPORT=5432
# PGUSER=postgres
# PGPASSWORD=Feli2414
# PGDATABASE=control_asistencia

# Variables pg opcionales (para el script create-db.js)
PGHOST=localhost
PGPORT=5432
PGUSER=velteccl_user_asistencia
PGPASSWORD=ScAPii80DCXuQJ
PGDATABASE=velteccl_control_asistencia
PGSSLMODE=disable
PGUSELIBPQCOMPAT=true


# ── JWT ───────────────────────────────────────
JWT_SECRET="cambia_esto_por_una_clave_secreta_larga_y_aleatoria"
JWT_EXPIRES_IN="8h"

# ── SMTP (correo saliente) ─────────────────────
# Gmail example (create App Password at myaccount.google.com/apppasswords)
SMTP_HOST="smtp.gmail.com"
SMTP_PORT="587"
SMTP_SECURE="false"
SMTP_USER="myanez@veltec.cl"
SMTP_PASS="Ca.,Vi$$Fe##3105$$"
SMTP_FROM="Sistema Control Asistencia <myanez@veltec.cl>"

# ── Frontend URL (for reset links) ────────────
FRONTEND_URL="http://localhost:5500"

# ── App ───────────────────────────────────────
PORT="3000"
NODE_ENV="development"
