-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
62 lines (52 loc) · 1.71 KB
/
Copy path.env.example
File metadata and controls
62 lines (52 loc) · 1.71 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
# Environment Variables Template
# Copy this file to .env and fill in your values
# === Database ===
DATABASE_URL=postgresql://myuser:your_password@localhost:5432/beautiful_cv
DB_HOST=localhost
DB_PORT=5432
DB_USER=myuser
DB_PASSWORD=your_password
DB_NAME=beautiful_cv
# === Application ===
NODE_ENV=development
PORT=5000
FRONTEND_URL=http://localhost:3000
BACKEND_URL=http://localhost:5000
# === JWT ===
JWT_SECRET=your_super_secret_jwt_key_change_this
JWT_EXPIRY=15m
JWT_REFRESH_SECRET=your_super_secret_refresh_key
JWT_REFRESH_EXPIRY=7d
# === DeepSeek AI API ===
DEEPSEEK_API_KEY=sk-your-deepseek-api-key
DEEPSEEK_BASE_URL=https://api.deepseek.com
DEEPSEEK_MODEL=deepseek-chat
# === Payment ===
# 推荐: Xorpay (xorpay.com) — 个人可接入,微信/支付宝扫码
# 备选: PayJS (payjs.cn) — 可能已停服
# 无需配置任何支付也能运行(自动使用 Mock / 人工审核模式)
XORPAY_PID=your_xorpay_project_id
XORPAY_KEY=your_xorpay_secret_key
PAYJS_MCHID=your_payjs_mchid
PAYJS_KEY=your_payjs_key
PAYMENT_NOTIFY_URL=https://your-domain.com/api/payments/notify
ADMIN_KEY=your_admin_secret_key
# === AWS S3 (Optional, for image storage) ===
AWS_ACCESS_KEY_ID=your_access_key
AWS_SECRET_ACCESS_KEY=your_secret_key
AWS_REGION=us-east-1
AWS_S3_BUCKET=beautiful-cv-images
# === Supabase (Alternative to S3) ===
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_ANON_KEY=your_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
# === Google OAuth (Optional) ===
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
# === Logging ===
LOG_LEVEL=info
LOG_FILE=logs/app.log
# === Feature Flags ===
ENABLE_AI_GENERATION=true
ENABLE_TEMPLATE_MARKETPLACE=true
ENABLE_PAYMENTS=true