Commit Graph

2 Commits

Author SHA1 Message Date
Cursor Agent
b4cdb879dd feat(tpos): replace mock data with real PostgreSQL data via BFF API
- Created BffDataController with 6 read-only endpoints using Dapper
- Created PosDataService client with snake_case JSON deserialization
- Refactored CafeDesktop to load products from catalog_service DB
- Refactored RestaurantDesktop to load tables from fnb_engine DB
- Refactored SpaDesktop to load services from catalog_service DB
- Added Npgsql + Dapper packages to Server project
- Seeded: 4 merchants, 4 shops, 26 products, 12 tables, 4 sessions,
  4 resources, 3 appointments across all 4 verticals

Co-authored-by: Velik <hongochai10@users.noreply.github.com>
2026-02-26 20:19:59 +00:00
Cursor Agent
5d02accd29 feat(tpos): add PosDataService client for BFF API consumption
- Create PosDataService with typed record DTOs for shops, products,
  categories, tables, and appointments
- Register PosDataService as scoped service in Client Program.cs

Co-authored-by: Velik <hongochai10@users.noreply.github.com>
2026-02-26 20:15:13 +00:00