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

715 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

  • POST /api/identity/session/login
  • POST /api/identity/session/refresh
  • POST /api/identity/session/logout
  • GET /api/identity/session/me

UI Workflow Coverage

  • Session login
  • Session me/profile inspection
  • Session refresh
  • Session logout