-
Notifications
You must be signed in to change notification settings - Fork 1
Architecture
bmh201708 edited this page Feb 27, 2026
·
3 revisions
flowchart LR
A["Mini Program"] --> B["request.js"]
B --> C["CloudBase AnyService"]
B --> D["Direct HTTP"]
C --> E["Nginx :8081"]
D --> E
E --> F["Express API :3000"]
F --> G["PostgreSQL"]
F --> H["OpenAlex"]
F --> I["LLM Provider"]
| 能力 | 说明 |
|---|---|
| 运行时模式切换 |
direct-http / cloudbase-anyservice
|
| 请求统一封装 | miniprogram/utils/request.js |
| 页面能力 | 自定义 TabBar、全局搜索预取 |
前端详细实现见:前端实现说明。
| 项目 | 说明 |
|---|---|
| API 入口 | backend/src/index.js |
| 业务模块 | auth / users / papers / projects / lab / profile |
| LLM 策略 | 模型池按优先级串行重试,命中即返回 |
- 主存储:PostgreSQL。
- Redis 已部署,但当前任务状态仍以内存 Map 为主(重启会丢失运行态任务)。
- DataViz:
创建任务 -> 轮询状态 -> 拉取结果 - Review Simulator:
创建任务 -> 轮询状态 -> 拉取结果
Research Pilot Wiki | Home | Quick Start | Architecture | API | Ops