-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
68 lines (58 loc) · 2.21 KB
/
Copy path.env.example
File metadata and controls
68 lines (58 loc) · 2.21 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# =====================================
# 🗄️ 데이터베이스 설정
# =====================================
DATABASE_URL=postgresql://username:password@localhost:5432/runmate_db
# =====================================
# 🔐 JWT 인증 설정
# =====================================
JWT_SECRET=your-jwt-secret-key-here-change-this-in-production
JWT_REFRESH_SECRET=your-jwt-refresh-secret-key-here-change-this-in-production
JWT_EXPIRES_IN=1h
JWT_REFRESH_EXPIRES_IN=7d
# =====================================
# ☁️ AWS S3 설정 (프로필 이미지 업로드)
# =====================================
AWS_ACCESS_KEY_ID=your-aws-access-key-id
AWS_SECRET_ACCESS_KEY=your-aws-secret-access-key
AWS_SESSION_TOKEN=your-aws-session-token-if-using-temporary-credentials
AWS_REGION=us-east-1
S3_BUCKET_NAME=runmate-images-rm
# =====================================
# 🗺️ 지도/GPS API 설정 (택일)
# =====================================
# Option 1: Google Maps API
GOOGLE_MAPS_API_KEY=your-google-maps-api-key
# Option 2: Kakao Maps API
KAKAO_REST_API_KEY=your-kakao-rest-api-key
KAKAO_JAVASCRIPT_KEY=your-kakao-javascript-key
# Option 3: Naver Maps API
NAVER_CLIENT_ID=your-naver-client-id
NAVER_CLIENT_SECRET=your-naver-client-secret
# =====================================
# 🔔 푸시 알림 설정 (Firebase Cloud Messaging)
# =====================================
FIREBASE_PROJECT_ID=your-firebase-project-id
FIREBASE_PRIVATE_KEY=your-firebase-private-key
FIREBASE_CLIENT_EMAIL=your-firebase-client-email
# =====================================
# 🌐 서버 설정
# =====================================
PORT=3000
NODE_ENV=development
API_URL=http://localhost:3000
FRONTEND_URL=http://localhost:5173
# =====================================
# 📧 이메일 설정 (선택사항 - 비밀번호 재설정 등)
# =====================================
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-email-password
# =====================================
# 🔒 CORS 설정
# =====================================
ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000
# =====================================
# 📊 로깅 설정
# =====================================
LOG_LEVEL=info