This commit is contained in:
2026-04-10 15:37:02 +08:00
parent 161cd32277
commit f19e482c8f
233 changed files with 43987 additions and 5127 deletions

View File

@@ -38,6 +38,12 @@ npm install
npm run dev
```
补充说明:
- `npm run dev` 会同时启动 Vite 与 Express 后端,适合完整联调。
- 如果没有显式配置 `DATABASE_URL`,且本机 `PostgreSQL` 不可用,开发模式会自动回退到内存版 `pg-mem`,方便先跑通鉴权与存档主链。
- 如果只想单独启动前端页面,可使用 `npm run dev:web`
构建生产包:
```bash