From 6c2d4901aadf179fe4c03c8ff108bb3a6ede8126 Mon Sep 17 00:00:00 2001 From: ddshi <8811906+ddshi@user.noreply.gitee.com> Date: Thu, 29 Jan 2026 16:33:39 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=9E=B6=E6=9E=84?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E8=AE=B0=E5=BD=95SQLite=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E5=BC=80=E5=8F=91=E6=94=AF=E6=8C=81=20(2026-01-29)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/architecture.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/docs/architecture.md b/docs/architecture.md index 1678464..6e38190 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -15,12 +15,22 @@ | 公网带宽 | 1Mbps | | 数据存储 | 云硬盘 50GB | -### 1.3 技术栈概览 +### 1.3 开发环境(本地SQLite) + +| 配置项 | 规格 | +|-------|------| +| 操作系统 | Windows/macOS/Linux | +| 数据库 | SQLite 3 (本地文件) | +| 数据库文件 | server/prisma/dev.db | +| API服务 | localhost:3000 | +| 前端服务 | localhost:5173 | + +### 1.4 技术栈概览 ``` 前端层: React 18 + TypeScript + Vite + Mantine UI + Tailwind CSS + Quill 后端层: Node.js + Express + TypeScript + Prisma ORM -数据库: PostgreSQL 14 + Redis 7 +数据库: PostgreSQL 14 (生产) / SQLite 3 (本地开发) + Redis 7 AI服务: DeepSeek API 基础设施: Nginx + PM2 + systemd ``` @@ -2568,9 +2578,10 @@ enum ErrorCode { | 版本 | 日期 | 描述 | |-----|------|------| -| 1.0.0 | 2026-01-28 | 初始架构设计 | +| 1.1.0 | 2026-01-29 | 添加SQLite本地开发支持 | +| 1.0.0 | 2026-01-28 | 初始架构设计(PostgreSQL) | --- *文档维护: 系统架构组* -*最后更新: 2026-01-28* +*最后更新: 2026-01-29*