docs: 更新架构文档记录SQLite本地开发支持 (2026-01-29)

This commit is contained in:
ddshi 2026-01-29 16:33:39 +08:00
parent f86cdafaee
commit 6c2d4901aa

View File

@ -15,12 +15,22 @@
| 公网带宽 | 1Mbps | | 公网带宽 | 1Mbps |
| 数据存储 | 云硬盘 50GB | | 数据存储 | 云硬盘 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 前端层: React 18 + TypeScript + Vite + Mantine UI + Tailwind CSS + Quill
后端层: Node.js + Express + TypeScript + Prisma ORM 后端层: Node.js + Express + TypeScript + Prisma ORM
数据库: PostgreSQL 14 + Redis 7 数据库: PostgreSQL 14 (生产) / SQLite 3 (本地开发) + Redis 7
AI服务: DeepSeek API AI服务: DeepSeek API
基础设施: Nginx + PM2 + systemd 基础设施: 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*