You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 启动开发环境(Server + Web 并行)
pnpm dev
# 或使用 Make
make dev
# 单独启动
pnpm dev:server # 仅后端
pnpm dev:web # 仅前端# 构建
pnpm build # 构建所有包
pnpm build:core # 仅核心层
pnpm build:server # 仅后端
pnpm build:web # 仅前端# 代码质量
pnpm lint # ESLint 检查
pnpm lint:fix # 自动修复
pnpm format # Prettier 格式化# 测试
pnpm test# 重装依赖
make reinstall
项目架构
graph TB
subgraph Frontend["前端 (@weeknote/web)"]
A[React + Vite]
B[TailwindCSS]
C[Milkdown Editor]
end
subgraph Backend["后端 (@weeknote/server)"]
D[Express API]
E[JWT Auth]
F[node-cron]
end
subgraph Core["核心层 (@weeknote/core)"]
G[Daily Log Parser]
H[AI Generator]
I[Reminder]
end
subgraph Storage["存储"]
J[(MongoDB)]
end
A --> D
D --> G
D --> H
D --> I
D --> J
F --> I