"refactor(backend): 移除未使用的redis、socket.io和sqlite3依赖"包括:

- `backend/.env.production`:生产环境变量配置
- `backend/ecosystem.config.js`:PM2生态系统配置文件
- `scripts/nginx-aijianhua.conf`:Nginx配置文件
- `scripts/server-deploy.sh`:服务器部署脚本
- `scripts/sync-to-server.sh`:代码同步脚本
- `docs/生产环境部署指南.md`:生产环境部署指南文档

同时移除了`package.json`中不再使用的依赖项:- `redis`- `socket.io`
- `sqlite3`这些更改将有助于简化生产环境的部署流程,并确保服务能够稳定运行。```
This commit is contained in:
2025-09-11 17:05:14 +08:00
parent 28c7b17767
commit a10df5928e
36 changed files with 520 additions and 3 deletions

View File

@@ -22,9 +22,6 @@
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"mysql2": "^3.6.0",
"redis": "^4.6.8",
"socket.io": "^4.7.2",
"sqlite3": "^5.1.7",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^4.6.3",
"validator": "^13.11.0",