Files
billai/web
clz ee163e123d feat: implement dynamic changelog loading from API
- Add GET /api/changelog endpoint to fetch changelog from CHANGELOG.md
- Create service/changelog.go to parse CHANGELOG.md markdown file
- Add handler/changelog.go to handle changelog requests
- Update ChangelogDrawer component to fetch from API instead of hardcoded data
- Export apiFetch from lib/api.ts for public use
- Add changelog parser tests with 14 version entries verified
2026-04-02 17:52:38 +08:00
..

BillAI Web

BillAI 的前端 Web 应用,基于 SvelteKit + Tailwind提供账单分析/复核/管理等界面。

开发

yarn install
yarn dev

常用命令:

yarn check
yarn lint
yarn format

构建

yarn build
yarn preview

API 访问

  • 开发环境下通过 SvelteKit/Vite 代理访问后端(统一使用相对路径,例如 /api/...
  • Docker 部署时由 docker-compose.yaml 将前端容器与后端容器联通

说明

前端展示层使用统一账单模型 UIBillcamelCase 字段 + amount:number),分析链路与详情编辑弹窗避免多种账单类型混用。