-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
44 lines (38 loc) · 941 Bytes
/
Copy path.env.sample
File metadata and controls
44 lines (38 loc) · 941 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Server Configuration
LOG_LEVEL=debug
SERVER_PORT=:8080
READ_TIMEOUT=15s
WRITE_TIMEOUT=15s
IDLE_TIMEOUT=60s
# PostgreSQL Configuration
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB_NAME=liveclass
POSTGRES_MAX_OPEN_CONNS=25
POSTGRES_MAX_IDLE_CONNS=5
POSTGRES_CONN_MAX_LIFETIME=5m
# MongoDB Configuration
MONGO_HOST=localhost
MONGO_PORT=27017
MONGO_USER=
MONGO_PASSWORD=
MONGO_DB=liveclass
MONGO_MAX_POOL_SIZE=100
MONGO_MIN_POOL_SIZE=10
MONGO_CONN_IDLE_TIME=5m
# Authentication
JWT_SECRET=your_jwt_secret_key
JWT_EXPIRATION=24h
# Environment
NODE_ENV=development
# CORS Configuration
CORS_ORIGIN=http://localhost:3000
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT_URL=http://localhost:8080/auth/callback
GOOGLE_MEET_API_URL=meet.googleapis.com
GOOGLE_CALENDAR_API_URL=//www.googleapis.com/calendar/v3/calendars/
YOUTUBE_API_URL=youtube.googleapis.com
YOUTUBE_API_KEY=