40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
# ─────────────────────────────────────────────
|
|
# Pantree Backend — Environment Variables
|
|
# Copy to .env and fill in real values.
|
|
# NEVER commit .env to version control.
|
|
# ─────────────────────────────────────────────
|
|
|
|
# Server
|
|
PORT=3000
|
|
NODE_ENV=development
|
|
|
|
# PostgreSQL
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_NAME=pantree
|
|
DB_USER=postgres
|
|
DB_PASSWORD=changeme
|
|
|
|
# JWT — use a long random secret in production
|
|
JWT_SECRET=change-this-to-a-long-random-secret
|
|
JWT_EXPIRES_IN=24h
|
|
|
|
# Google OAuth
|
|
GOOGLE_CLIENT_ID=your-google-client-id.apps.googleusercontent.com
|
|
|
|
# Email (SMTP / SendGrid / SES)
|
|
EMAIL_HOST=smtp.ethereal.email
|
|
EMAIL_PORT=587
|
|
EMAIL_USER=
|
|
EMAIL_PASS=
|
|
EMAIL_FROM=noreply@pantree.app
|
|
|
|
# App base URL (used in password-reset links)
|
|
APP_BASE_URL=https://pantree.app
|
|
|
|
# Account deletion window (days)
|
|
ACCOUNT_DELETION_DAYS=15
|
|
|
|
# Password reset token expiry (hours)
|
|
RESET_TOKEN_EXPIRY_HOURS=1
|