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

22 lines
623 B
Markdown

# 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/waiter/floor/assignments?contextId=...`
- `POST /api/waiter/floor/orders`
## UI Workflow Coverage
- Waiter assignment lookup
- Floor order submission