nex_docus/docs/sdd/architecture/decisions/ADR-0003-tech-stack.md

16 lines
611 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# ADR-0003:技术栈选型
- **状态**:Accepted
## 决策
- **后端**:Python 3.12 + FastAPI(异步)+ SQLAlchemy 2.0(async)+ aiomysql/PyMySQL + Redis(aioredis)+ JWT(python-jose/bcrypt)+ Uvicorn。
- **前端**:React 18 + Vite 5 + Ant Design 5 + Tailwind + Zustand + React Router v6;Markdown bytemd;PDF pdfjs-dist/react-pdf;虚拟列表 react-virtuoso/react-window。
- **搜索/向量**:Whoosh3 + jieba(全文);ZVec + 可配置 embedding(语义)。
## 后果
依赖锁定在 `requirements.txt` 与 `package.json`;更换组件须评审。
## 关联
全部 DV。