-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (22 loc) · 878 Bytes
/
Copy path.env.example
File metadata and controls
27 lines (22 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Application
NODE_ENV=development
PORT=3000
# Database (Railway will provide these)
DATABASE_URL="postgresql://postgres:password@localhost:5432/tripmate?schema=public"
DIRECT_URL="postgresql://postgres:password@localhost:5432/tripmate?schema=public"
# JWT (CHANGE THESE IN PRODUCTION!)
JWT_SECRET="your-super-secret-jwt-key-change-this-in-production"
JWT_REFRESH_SECRET="your-super-secret-refresh-key-change-this-in-production"
JWT_EXPIRES_IN="15m"
JWT_REFRESH_EXPIRES_IN="7d"
# Email Configuration (Brevo)
MAIL_HOST=smtp-relay.brevo.com
MAIL_PORT=587
MAIL_USER=your-email@gmail.com
MAIL_PASS=xkeysib-your-brevo-smtp-key
MAIL_FROM_NAME=TripMate
MAIL_FROM_EMAIL=noreply@tripmate.com
# Frontend URL (for CORS and email links)
FRONTEND_URL=http://localhost:3000
# CORS (comma-separated origins)
CORS_ORIGINS="http://localhost:3000,http://localhost:3001,http://localhost:5173"