website-builder-backend/.env.example
S M Fahim Hossen 4417d1eba3 set env example
2025-09-07 12:23:05 +06:00

30 lines
691 B
Text

# Server
PORT=5000
NODE_ENV=development
# Database (PostgreSQL)
DATABASE_URL=postgresql://username:password@host:port/dbname
# Supabase
SUPABASE_URL=https://your-project-id.supabase.co
SUPABASE_SERVICE_ROLE_KEY=your-secret-service-role-key
SUPABASE_ANON_KEY=your-anon-key (optional, if you use it anywhere)
# JWT
JWT_ACCESS_SECRET=your_jwt_access_secret
JWT_REFRESH_SECRET=your_jwt_refresh_secret
JWT_ACCESS_EXPIRES_IN=15m
JWT_REFRESH_EXPIRES_IN=7d
# Bcrypt
BCRYPT_SALT_ROUNDS=10
# Frontend & Backend URLs
CLIENT_URL=http://localhost:3000
BACKEND_URL=http://localhost:5000
# Mailer Config
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USER=your_smtp_user
MAIL_PASS=your_smtp_password