How ury-erp/ury works
URY is a restaurant-management suite built on ERPNext, with distinct administration, cashier/captain POS, customer self-ordering, and kitchen-display experiences. The primary workflow runs from restaurant setup and menu/table configuration through order entry, kitchen preparation, billing, and operational reporting. The graph preserves README-documented capabilities even where implementation excerpts were unavailable; those relationships are cited to the README rather than treated as inspected code. Several backend and legacy-app connections are therefore documented at subsystem level, not inferred from unsampled source.
Main entry points: src/App.tsx Cashier POS · doctype Restaurant domain records · src/App.tsx Admin portal · Setup Setup wizard
Components 22
Administration & Analytics
- Admin portal
frontend/src/App.tsx - Setup wizard
frontend/src/pages/Setup - Restaurant configuration
frontend/src/pages/Dashboard - Reports & analytics
frontend/src/pages/Reports
POS & Table Orders
- Cashier POS
pos/src/App.tsx - POS state & operations
pos/src/store/pos-store.ts - Orders & billing
pos/src/pages/Orders.tsx - Captain table orders
pos/src/captain/pages/CaptainOrder.tsx - Table order context
pos/src/captain/hooks/useTableOrderContext.ts - Legacy mobile POS
urypos/src/App.vue
Self Ordering
- Self-order app
self-order/src/App.tsx - Ordering session
self-order/src/hooks/useOrderingSession.ts - Self-order API client
self-order/src/lib/api.ts
Kitchen Display
- Kitchen display
mosaic/src/App.vue - Kitchen queue views
mosaic/src/views/Home.vue
URY Backend
- Report services
ury/ury/report_api - POS APIs
ury/ury_pos/api.py - Self-order services
ury/ury/api/self_ordering.py - KOT & kitchen APIs
ury/ury/api/ury_kot_display.py - Restaurant domain records
ury/ury/doctype
Other components
- Restaurant staff
- ERPNext
Connections 25
- Restaurant staff → Admin portal: configures
README.md - Admin portal → Setup wizard: routes to
frontend/src/App.tsx - Admin portal → Restaurant configuration: routes to
frontend/src/App.tsx - Admin portal → Reports & analytics: routes to
frontend/src/App.tsx - Reports & analytics → Report services: requests data
frontend/src/pages/Reports/ServiceWiseSales.tsx - Restaurant staff → Cashier POS: processes orders
README.md - Cashier POS → Orders & billing: routes to
pos/src/App.tsx - Cashier POS → Captain table orders: routes to
pos/src/App.tsx - Cashier POS → POS state & operations: initializes
pos/src/App.tsx - Captain table orders → Table order context: loads context
pos/src/captain/hooks/useTableOrderContext.ts - POS state & operations → POS APIs: uses POS services
pos/src/store/pos-store.ts - Restaurant staff → Self-order app: places order
README.md - Self-order app → Ordering session: selects layout
self-order/src/App.tsx - Ordering session → Self-order API client: requests menu and orders
self-order/src/hooks/useOrderingSession.ts - Self-order API client → Self-order services: calls services
README.md - Restaurant staff → Kitchen display: monitors kitchen
README.md - Kitchen display → Kitchen queue views: renders
mosaic/src/App.vue - Kitchen queue views → KOT & kitchen APIs: receives order updates
- Cashier POS → KOT & kitchen APIs: sends kitchen tickets
README.md - Setup wizard → Restaurant domain records: configures records
README.md - Restaurant configuration → Restaurant domain records: manages records
README.md - POS APIs → Restaurant domain records: operates on records
README.md - Report services → Restaurant domain records: reports on records
README.md - Restaurant domain records → ERPNext: extends ERPNext
README.md - Restaurant staff → Legacy mobile POS: uses legacy client
README.md