初始化参股
This commit is contained in:
33
后端/.env.example
Normal file
33
后端/.env.example
Normal file
@@ -0,0 +1,33 @@
|
||||
# 数据库配置示例
|
||||
DB_HOST=localhost
|
||||
DB_PORT=3306
|
||||
DB_USER=your_username
|
||||
DB_PASS=your_password
|
||||
DB_NAME=youyijia_sofa
|
||||
|
||||
# JWT 配置示例
|
||||
JWT_SECRET=your-super-secret-jwt-key
|
||||
JWT_EXPIRES_IN=7d
|
||||
JWT_REFRESH_SECRET=your-refresh-secret
|
||||
JWT_REFRESH_EXPIRES_IN=30d
|
||||
|
||||
# 服务器配置示例
|
||||
PORT=3000
|
||||
NODE_ENV=development
|
||||
|
||||
# 文件上传配置示例
|
||||
UPLOAD_DIR=uploads
|
||||
MAX_FILE_SIZE=5242880
|
||||
|
||||
# 跨域配置示例
|
||||
FRONTEND_URL=http://localhost:8080
|
||||
|
||||
# 微信小程序配置
|
||||
WECHAT_APPID=your_wechat_appid
|
||||
WECHAT_SECRET=your_wechat_secret
|
||||
|
||||
# Redis 配置示例 (可选)
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
REDIS_PASSWORD=
|
||||
REDIS_DB=0
|
||||
Reference in New Issue
Block a user