d479504f12
Deploy Slides / build-and-deploy (push) Successful in 1m32s
- Restructure from 12 slides to 21 slides with proper section navigation - Split into pages/ for modular maintenance (15 page files) - Use frankfurt theme: cover layout, Item component, section frontmatter - Remove all two-cols layouts to avoid rendering issues - Add rich content from tmp/ docs: Eino pipeline, prompt agent, async tasks, data model, deployment - Use Item component for structured content blocks - Add mermaid ER diagram for data model - Add Go code block for pipeline type definitions
53 lines
1.2 KiB
Markdown
53 lines
1.2 KiB
Markdown
# 技术栈一览
|
||
|
||
<div class="grid grid-cols-3 gap-6 mt-4">
|
||
|
||
<Item title="⚙️ 后端">
|
||
|
||
- **语言**:Go 1.26
|
||
- **框架**:Gin 1.12
|
||
- **AI 编排**:Eino 0.8(compose.Graph)
|
||
- **ORM**:GORM + SQLite
|
||
- **认证**:JWT + bcrypt
|
||
- **配置**:Viper(多层配置)
|
||
- **存储**:七牛云 Kodo
|
||
|
||
</Item>
|
||
|
||
<Item title="🖥️ 前端">
|
||
|
||
- **框架**:React 18 + TypeScript 5.6
|
||
- **构建**:Vite 6
|
||
- **状态管理**:Zustand
|
||
- **路由**:react-router v7
|
||
- **样式**:CSS Modules + 暗色主题
|
||
- **API 层**:封装 Fetch + 类型安全
|
||
|
||
</Item>
|
||
|
||
<Item title="🏗️ 基础设施">
|
||
|
||
- **容器化**:Docker 多阶段构建
|
||
- **反向代理**:nginx
|
||
- **CI/CD**:Gitee Actions 自动部署
|
||
- **数据库**:SQLite 嵌入式
|
||
- **文件存储**:七牛云 Kodo CDN
|
||
- **通信**:REST API + WebSocket
|
||
|
||
</Item>
|
||
|
||
</div>
|
||
|
||
<div class="mt-6">
|
||
|
||
<Item title="📐 架构分层原则">
|
||
|
||
- **Handler 层**(薄):请求校验、参数绑定、错误处理
|
||
- **Service 层**(厚):业务逻辑、管线编排、风格合并
|
||
- **Model 层**(数据):GORM 实体定义、数据库操作
|
||
- **日志系统**:基于 `log/slog`,分级别记录(Debug / Info / Warn / Error)
|
||
|
||
</Item>
|
||
|
||
</div>
|