forked from CSI-KJSCE/Travel-policy-
29 lines
894 B
Plaintext
29 lines
894 B
Plaintext
# Database
|
|
DATABASE_URL="postgresql://user:password@localhost:5432/travel_policy_db?schema=public"
|
|
|
|
# JWT Secret for token generation
|
|
JWT_SECRET="your-secret-jwt-key-here-change-this-in-production"
|
|
|
|
# Session Secret
|
|
SESSION_SECRET="your-session-secret-key-here-change-this-in-production"
|
|
|
|
# Google OAuth Credentials
|
|
# Get these from https://console.cloud.google.com/
|
|
GOOGLE_CLIENT_ID="your-google-client-id.apps.googleusercontent.com"
|
|
GOOGLE_CLIENT_SECRET="your-google-client-secret"
|
|
GOOGLE_CALLBACK_URL="http://localhost:5000/auth/google/callback"
|
|
|
|
# Frontend URL (for CORS and redirects)
|
|
FRONTEND_URL="http://localhost:5173"
|
|
|
|
# Server Configuration
|
|
PORT=5000
|
|
NODE_ENV="development"
|
|
|
|
# Email Configuration (if using nodemailer)
|
|
EMAIL_HOST="smtp.gmail.com"
|
|
EMAIL_PORT=587
|
|
EMAIL_USER="your-email@example.com"
|
|
EMAIL_PASSWORD="your-email-password-or-app-password"
|
|
EMAIL_FROM="noreply@example.com"
|