pos-transactions-web/docs/architecture/frontend-boundary.md
2026-03-08 16:23:00 -06:00

620 B

Frontend Boundary

  • This repository hosts a React edge application for a single BFF.
  • Frontend data access flows through src/api/* adapter modules.
  • The UI does not access DAL or internal services directly.
  • Route shell and protected sections are session-aware via Thalos session endpoints.

Runtime Base URLs

  • API_BASE_URL for business BFF calls.
  • THALOS_AUTH_BASE_URL for session login/refresh/logout/me.

Protected Workflow Endpoints

  • GET /api/pos/transactions/summary?contextId=...
  • POST /api/pos/transactions/payments

UI Workflow Coverage

  • POS summary lookup
  • POS payment capture