保险前后端,养殖端和保险端小程序
This commit is contained in:
33
insurance_backend/.env.example
Normal file
33
insurance_backend/.env.example
Normal file
@@ -0,0 +1,33 @@
|
||||
# 数据库配置
|
||||
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
|
||||
Reference in New Issue
Block a user