# Hospitality Routing Map **Base:** `/hospitality` **Generator:** `frontend/scripts/scaffold-hospitality-module.mjs` ## Route pattern ```tsx // app/hospitality/{path}/page.tsx "use client"; export { PageName as default } from "@/modules/hospitality/features/{feature}"; ``` ## All routes (production) Base `/hospitality` — see `constants/portals.ts`. Added in production wave: | Path | Feature | |------|---------| | `/hospitality/onboarding` | RestaurantOnboardingPage | | `/hospitality/ops` | OpsCenterPage | | `/hospitality/ops/kitchen` | KitchenOpsDashboard | | `/hospitality/ops/waiter` | WaiterOpsDashboard | | `/hospitality/ops/cashier` | CashierOpsDashboard | | `/hospitality/integrations/accounting` | AccountingIntegrationPage | | `/hospitality/integrations/dispatches` | ConnectorDispatchesPage | | `/hospitality/integrations/marketplace` | MarketplaceIntegrationPage (CapabilityUnavailable) | Full historical map: prior 54 routes remain API-connected via list factory. ## Layout files | File | Purpose | |------|---------| | `app/hospitality/layout.tsx` | Root portal layout | | `app/hospitality/not-found.tsx` | 404 | | Each route `loading.tsx` | Skeleton | | Each route `error.tsx` | Error boundary | ## BFF `GET|POST|PATCH|PUT|DELETE /api/hospitality/{path}` → `HOSPITALITY_SERVICE_URL` (default `http://localhost:8009`)