How snehitdesu/aharoas works
RESTORA is restaurant operations software spanning web and Windows desktop, with POS, QR ordering, kitchen workflows, back-office administration, and operational reporting. The principal flow is an operator or guest using a web interface, which sends requests through API routes and shared request handling to domain services and persistent data. The README documents the major product capabilities and deployment stores; the graph preserves those branches. Some links are based on README-level documentation because their implementation was not sampled.
Main entry points: route.ts Domain API routes · orders.ts POS and orders · index.ts External integrations · client.ts Application database
Components 20
Web experience
- Operator UI
src/app/(app)/dashboard/page.tsx - QR ordering
src/app/t/[token]/page.tsx - Captain and manager apps
src/features/mobile/CaptainApp.tsx
Operations workflows
- POS and orders
src/server/services/orders.ts - Guest order service
src/server/services/guestOrdering.ts - Kitchen tickets and display
src/server/services/kot.ts - Payments and invoices
src/server/services/payment.ts - Inventory and production
src/server/services/inventory.ts - Procurement
src/server/services/procurement.ts - Finance and reconciliation
src/server/services/finance.ts - Analytics and reports
src/server/services/analytics.ts
Platform services
- Domain API routes
src/app/api/orders/[[...path]]/route.ts - Request router
src/server/api/router.ts - Authentication and access
src/server/auth/rbac.ts - External integrations
src/integrations/payment/index.ts - Application database
src/server/db/client.ts
Desktop runtime
- Windows desktop app
desktop/main/main.ts - Embedded SQLite runtime
desktop/runtime/dbtool.ts
Other components
- Restaurant operator
- Restaurant guest
Connections 23
- Restaurant operator → Operator UI: uses
- Restaurant guest → QR ordering: places orders
- Restaurant operator → Captain and manager apps: uses
- Operator UI → Domain API routes: requests operations
- QR ordering → Domain API routes: submits orders
- Captain and manager apps → Domain API routes: requests operations
- Domain API routes → Request router: routes requests
src/app/api/orders/[[...path]]/route.ts - Request router → Authentication and access: checks access
src/server/api/router.ts - Domain API routes → POS and orders: calls order actions
src/app/api/orders/[[...path]]/route.ts - Domain API routes → Guest order service: handles guest orders
- POS and orders → Kitchen tickets and display: creates kitchen tickets
- POS and orders → Payments and invoices: supports payment
- POS and orders → Application database: persists orders
- Guest order service → Application database: persists guest orders
- Domain API routes → Inventory and production: routes inventory actions
- Domain API routes → Procurement: routes procurement actions
- Domain API routes → Finance and reconciliation: routes finance actions
- Domain API routes → Analytics and reports: routes analytics
- Finance and reconciliation → External integrations: reconciles payments
- Payments and invoices → External integrations: uses payment gateway
- External integrations → Application database: records integration state
- Restaurant operator → Windows desktop app: uses
- Windows desktop app → Embedded SQLite runtime: uses embedded database