Files
pos-system/.scratchpad/context.md
Ho Ngoc Hai e74527dc8f feat(web-client-tpos): implement POS order creation via BFF API
- Add POST /api/bff/pos/orders endpoint (Dapper, order+items+payment_method)
- Add CreatePosOrderAsync to PosDataService with camelCase JSON serialization
- Wire CafeDesktop ConfirmPayment to API (async, ProductId tracking, fallback)
- Add TryRestoreSessionAsync to POS page init for JWT auth
- Replace Forbid() with Unauthorized() + diagnostic logging
2026-03-03 15:23:12 +07:00

2.3 KiB

Scratchpad Context — GoodGo Platform

Updated: 2026-03-03 14:22

Trạng thái hệ thống

Infrastructure

  • Docker: 29 containers running (healthy), Traefik reverse proxy
  • DB: PostgreSQL (postgres-local), separate DB per service
  • Cache: Redis (redis-local)
  • Queue: RabbitMQ (rabbitmq-local)
  • Storage: MinIO (minio-local)

Services (26 .NET microservices)

Service Status Notes
iam-service-net healthy Auth, Users, Roles
merchant-service-net healthy Merchants, Shops, Staff
catalog-service-net healthy Products, Categories
order-service-net healthy Orders, Order Items
booking-service-net healthy Appointments, Resources
fnb-engine-net healthy Tables, Sessions
inventory-service-net healthy Stock management
promotion-service-net healthy Campaigns, Vouchers
membership-service-net healthy Members, Levels
wallet-service-net healthy Wallets, Transactions
chat-service-net healthy Chat, SignalR
social-service-net healthy Social features
storage-service-net healthy File storage
mining-service-net healthy Data mining
mission-service-net healthy Gamification
ads-*-service-net (5) healthy Ads ecosystem
mkt-*-service-net (4) healthy Marketing integrations

Apps

App Type Port Status
web-client-tpos-net Blazor WASM POS 3001 Running
web-client-base-net Blazor Admin Not deployed locally
app-client-base-net .NET MAUI Mobile Not deployed
app-client-base-swift Swift iOS Not deployed
web-docs Documentation site Not deployed

Recent Changes (từ Git log)

  1. d969f3dfeat: Replace hardcoded POS data with API-driven endpoints
  2. fe6e14cfeat: Unify POS with inline payment and tabs (path fix)
  3. 15404a8feat: Unify POS page with tabs and inline payment
  4. 617a7cafix: Resolve 500 error on GET /api/v1/users endpoint
  5. ad6fe03feat: Add users management page and enhance roles CRUD
  6. f3bfcc8fix: Roles API response parsing and property mapping
  7. f353f88feat: Redesign Home/NotFound pages, localize Dashboard

Blockers

  • Chưa có