-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (37 loc) · 1010 Bytes
/
Copy path.env.example
File metadata and controls
42 lines (37 loc) · 1010 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
# ================
# Базовые настройки
# ================
NODE_ENV=development
PORT=3000
# ====================
# Настройки PostgreSQL
# ====================
DB_HOST=localhost
DB_PORT=5432
DB_NAME=space-sql
DB_USER=postgres
DB_PASSWORD=your_password
DB_URL=postgres://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}
# ====================
# Настройки API сервера
# ====================
API_PORT=8080
API_BASE_URL=http://localhost:8080
JWT_SECRET=your_jwt_secret_here
JWT_EXPIRES_IN=30d
# ======================
# Настройки фронтенда
# ======================
REACT_APP_API_URL=http://localhost:8080
REACT_APP_GA_TRACKING_ID=UA-XXXXX-Y
# =====================
# Внешние API ключи
# =====================
# SENDGRID_API_KEY=your_sendgrid_key
# AWS_ACCESS_KEY_ID=your_aws_key
# AWS_SECRET_ACCESS_KEY=your_aws_secret
# ==============
# Флаги функций
# ==============
# FEATURE_NEW_AUTH=true
# MAINTENANCE_MODE=false