docs(zh-CN): translate code block(plain text) (#753)

Co-authored-by: neo <neo.dowithless@gmail.com>
This commit is contained in:
zdoc.app
2026-03-23 06:39:24 +08:00
committed by GitHub
parent fd2a8edb53
commit 4f6f587700
118 changed files with 1807 additions and 1835 deletions

View File

@@ -37,23 +37,23 @@ origin: ECC
```
┌─────────────────────────────────────────────────────────────┐
Frontend
前端
│ Next.js 15 + TypeScript + TailwindCSS │
Deployed: Vercel / Cloud Run │
部署平台:Vercel / Cloud Run │
└─────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
Backend
后端
│ FastAPI + Python 3.11 + Pydantic │
Deployed: Cloud Run │
部署平台:Cloud Run │
└─────────────────────────────────────────────────────────────┘
┌───────────────┼───────────────┐
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ Supabase │ │ Claude │ │ Redis │
Database │ │ API │ │ Cache
数据库 │ │ API │ │ 缓存
└──────────┘ └──────────┘ └──────────┘
```
@@ -65,31 +65,31 @@ origin: ECC
project/
├── frontend/
│ └── src/
│ ├── app/ # Next.js app router pages
│ │ ├── api/ # API routes
│ │ ├── (auth)/ # Auth-protected routes
│ │ └── workspace/ # Main app workspace
│ ├── components/ # React components
│ │ ├── ui/ # Base UI components
│ │ ├── forms/ # Form components
│ │ └── layouts/ # Layout components
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utilities
│ ├── types/ # TypeScript definitions
│ └── config/ # Configuration
│ ├── app/ # Next.js 应用路由页面
│ │ ├── api/ # API 路由
│ │ ├── (auth)/ # 受身份验证保护的路由
│ │ └── workspace/ # 主应用工作区
│ ├── components/ # React 组件
│ │ ├── ui/ # 基础 UI 组件
│ │ ├── forms/ # 表单组件
│ │ └── layouts/ # 布局组件
│ ├── hooks/ # 自定义 React 钩子
│ ├── lib/ # 工具库
│ ├── types/ # TypeScript 类型定义
│ └── config/ # 配置文件
├── backend/
│ ├── routers/ # FastAPI route handlers
│ ├── models.py # Pydantic models
│ ├── main.py # FastAPI app entry
│ ├── auth_system.py # Authentication
│ ├── database.py # Database operations
│ ├── services/ # Business logic
│ └── tests/ # pytest tests
│ ├── routers/ # FastAPI 路由处理器
│ ├── models.py # Pydantic 模型
│ ├── main.py # FastAPI 应用入口
│ ├── auth_system.py # 身份验证模块
│ ├── database.py # 数据库操作
│ ├── services/ # 业务逻辑层
│ └── tests/ # pytest 测试
├── deploy/ # Deployment configs
├── docs/ # Documentation
└── scripts/ # Utility scripts
├── deploy/ # 部署配置
├── docs/ # 文档
└── scripts/ # 工具脚本
```
***