feat: 初始化考培练系统项目

- 从服务器拉取完整代码
- 按框架规范整理项目结构
- 配置 Drone CI 测试环境部署
- 包含后端(FastAPI)、前端(Vue3)、管理端

技术栈: Vue3 + TypeScript + FastAPI + MySQL
This commit is contained in:
111
2026-01-24 19:33:28 +08:00
commit 998211c483
1197 changed files with 228429 additions and 0 deletions

53
backend/requirements.txt Normal file
View File

@@ -0,0 +1,53 @@
# Web框架
fastapi==0.104.1
uvicorn[standard]==0.24.0
python-multipart==0.0.6
sse-starlette==1.8.2
# 数据库
sqlalchemy==2.0.23
aiomysql==0.2.0
alembic==1.12.1
# Redis
redis==5.0.1
aioredis==2.0.1
# 数据验证
pydantic==2.5.0
pydantic-settings==2.1.0
email-validator==2.1.0
# 认证和安全
python-jose[cryptography]==3.3.0
passlib==1.7.4
bcrypt==4.1.2
python-dotenv==1.0.0
PyJWT==2.8.0
PyMySQL==1.1.0
# HTTP客户端
# 与 cozepy==0.19.0 兼容cozepy 依赖 httpx >= 0.27.0 且 < 0.28.0
httpx==0.27.2
aiofiles==23.2.1
# 日志
structlog==23.2.0
# AI平台SDK
cozepy==0.19.0
# 工具库
python-dateutil==2.8.2
tenacity==8.2.3
# Excel文件处理用于课程资料预览
openpyxl==3.1.2
# LLM JSON 解析(知识点分析服务)
json-repair>=0.25.0
jsonschema>=4.0.0
# PDF 文档提取
PyPDF2>=3.0.0
python-docx>=1.0.0