feat: 初始化多个小程序和前端项目
- 新建多个小程序的 app.js、app.json 和 app.wxss 文件 - 新建多个前端项目的 App.vue 文件 - 添加 .gitignore 文件和后端 API 的 .env.example 文件
This commit is contained in:
25
backend/api/.env.example
Normal file
25
backend/api/.env.example
Normal file
@@ -0,0 +1,25 @@
|
||||
# 服务器配置
|
||||
PORT=8000
|
||||
|
||||
# 数据库配置
|
||||
DB_HOST=localhost
|
||||
DB_USER=root
|
||||
DB_PASSWORD=password
|
||||
DB_NAME=xlxumu
|
||||
DB_PORT=3306
|
||||
|
||||
# JWT配置
|
||||
JWT_SECRET=your_jwt_secret_key_here
|
||||
JWT_EXPIRES_IN=24h
|
||||
|
||||
# 腾讯云存储配置
|
||||
TENCENT_CLOUD_SECRET_ID=your_secret_id
|
||||
TENCENT_CLOUD_SECRET_KEY=your_secret_key
|
||||
TENCENT_CLOUD_BUCKET=your_bucket_name
|
||||
TENCENT_CLOUD_REGION=your_region
|
||||
|
||||
# 日志配置
|
||||
LOG_LEVEL=info
|
||||
|
||||
# 其他配置
|
||||
NODE_ENV=development
|
||||
Reference in New Issue
Block a user