How satisfecho/pos works
POS2 is a multi-tenant restaurant POS with staff operations and public guest ordering/booking. The principal workflow is guests browse a tenant menu, submit orders, staff manage fulfillment through the POS and kitchen, and reports summarize completed sales. The README documents payments, tables, reservations, inventory, delivery, loyalty, and marketing branches. Source evidence is selective: route excerpts establish some frontend dispatch, while several product branches are documented only by the README; dashed links mark unverified integration details.
Main entry points: main.py POS API · models.py Tenant Data · reservations.component.ts Reservations UI · orders.component.ts Staff POS
Components 21
Guest and Staff Experience
- Guest Menu
front/src/app/menu/menu.component.ts - Reservations UI
front/src/app/reservations/reservations.component.ts - Staff POS
front/src/app/orders/orders.component.ts - Kitchen Display
front/src/app/kitchen-display/kitchen-display.component.ts - POS API
back/app/main.py
Ordering and Fulfillment
- Order Fulfillment
back/app/delivery_order_service.py - Checkout Payments
back/app/order_payment_service.py - Delivery Integrations
back/app/delivery_integration_routes.py
Restaurant Operations
- Tables and QR
front/src/app/tables/tables.component.ts - Booking and Waitlist
back/app/attendance_routes.py - Inventory Console
front/src/app/inventory/inventory.routes.ts - Inventory Management
back/app/inventory_routes.py - Inventory Services
back/app/inventory_service.py
Tenant Platform
- Identity and Access
back/app/security.py - Role Permissions
back/app/permissions.py - Tenant Data
back/app/models.py - Database Sessions
back/app/db.py
Insights and Outreach
- Sales Reports
back/app/reports_routes.py - Social Publishing
back/app/social_routes.py
Other components
- Guest
- Restaurant Staff
Connections 24
- Guest → Guest Menu: browses menu
- Guest → Reservations UI: books a table
- Restaurant Staff → Staff POS: runs operations
- Restaurant Staff → Kitchen Display: tracks orders
- Guest Menu → POS API: submits orders
- Reservations UI → POS API: manages bookings
- Staff POS → POS API: manages orders
- Kitchen Display → POS API: receives updates
- POS API → Order Fulfillment: coordinates fulfillment
back/app/delivery_order_service.py - POS API → Checkout Payments: handles checkout
- POS API → Delivery Integrations: ingests marketplace orders
back/app/delivery_integration_routes.py - Staff POS → Tables and QR: manages tables
- Reservations UI → Booking and Waitlist: routes staff bookings
- Inventory Console → Inventory Management: uses inventory API
- Inventory Management → Inventory Services: delegates operations
back/app/inventory_routes.py - Inventory Management → Tenant Data: reads and writes
back/app/inventory_routes.py - POS API → Database Sessions: opens sessions
- Database Sessions → Tenant Data: persists records
back/app/db.py - POS API → Identity and Access: authenticates requests
- Identity and Access → Tenant Data: looks up users
back/app/security.py - Role Permissions → Identity and Access: checks authenticated roles
back/app/permissions.py - Sales Reports → Tenant Data: aggregates paid orders
back/app/reports_routes.py - Social Publishing → Tenant Data: stores social posts
back/app/social_routes.py - Social Publishing → Guest: publishes marketing