34 lines
977 B
Bash
34 lines
977 B
Bash
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
|
|
|
|
# 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
|
|
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>
|