Add vue-router, login/setup flow and backend logging

Refactor frontend to route-based navigation with vue-router, add
system setup and login pages with API integration. Add structured
logging, access-log middleware and startup lifecycle to FastAPI
backend.
This commit is contained in:
2026-05-06 22:23:42 +08:00
parent 83d7da3d62
commit ae63766c91
35 changed files with 3762 additions and 404 deletions

View File

@@ -8,13 +8,34 @@
- `UI/`:界面参考稿
- `document/`:业务文档
根目录启动前端
根目录统一环境变量
- `.env`
- `.env.example`
这里集中维护:
- 前端启动端口
- 后端启动端口
- PostgreSQL 连接参数
- `DATABASE_URL`
- `REDIS_URL`
从根目录统一启动:
```bash
./start.sh
```
或手动进入前端目录
可选模式
```bash
./start.sh web
./start.sh server
./start.sh all
```
手动进入前端目录:
```bash
cd web