Files
SkyArtShop/backend/.env

34 lines
977 B
Bash
Raw Normal View History

2025-12-14 17:42:13 -06:00
NODE_ENV=development
PORT=5000
DB_HOST=localhost
DB_PORT=5432
DB_NAME=skyartshop
DB_USER=skyartapp
DB_PASSWORD=SkyArt2025Pass
SESSION_SECRET=skyart-shop-secret-2025-change-this-in-production
UPLOAD_DIR=/var/www/SkyArtShop/wwwroot/uploads/images
2026-01-01 22:24:30 -06:00
# New structure variables
DATABASE_URL="postgresql://skyartapp:SkyArt2025Pass@localhost:5432/skyartshop?schema=public"
JWT_SECRET=skyart-shop-secret-2025-change-this-in-production
JWT_EXPIRES_IN=7d
CORS_ORIGIN=http://localhost:5173
2026-01-18 02:22:05 -06:00
MAX_FILE_SIZE=62914560
# ============================================
# EMAIL CONFIGURATION (Gmail SMTP)
# ============================================
# Replace YOUR_GMAIL@gmail.com with your actual Gmail address
# Replace YOUR_APP_PASSWORD with the 16-character app password from Google
# (Remove spaces from the app password)
#
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=YOUR_GMAIL@gmail.com
SMTP_PASS=YOUR_APP_PASSWORD
SMTP_FROM="Sky Art Shop" <YOUR_GMAIL@gmail.com>