Files
nxxmdata/insurance_backend/.env.example
2025-09-17 19:01:52 +08:00

33 lines
615 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 数据库配置
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=insurance_db
DB_USER=insurance_user
DB_PASSWORD=insurance_password
# JWT配置
JWT_SECRET=your_super_secret_jwt_key_here
JWT_EXPIRE=7d
# Redis配置
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# 服务器配置
PORT=3000
NODE_ENV=development
# 文件上传配置
UPLOAD_PATH=./uploads
MAX_FILE_SIZE=10485760
# 邮件配置(可选)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your_email@gmail.com
SMTP_PASS=your_app_password
# 第三方API配置可选
API_BASE_URL=http://localhost:3000/api
FRONTEND_URL=http://localhost:5173