How nojus77/eventcast works
This is a multi-tenant restaurant and workforce operations application, with manager/admin, employee, kitchen, and kiosk interfaces. Its broad product areas include staffing, procurement and inventory, accounting, training, compliance, communications, and automation. The tree establishes these product surfaces, while sampled source confirms several internal engines and their dependencies; the README is only the default Next.js template. Accordingly, the graph maps major capabilities but limits arrows to relationships supported by the excerpts.
Main entry points: ocr/pipeline.ts Invoice OCR · worker/pipeline.ts AI worker pipeline · cogs/engine.ts Recipes and COGS · corrective/engine.ts Corrective chains
Components 24
People and workforce
- Workforce
app/(app)/workforce/page.tsx - Scheduling and time
app/(app)/rota/page.tsx - Training
app/(app)/training/page.tsx - Employee import
app/(app)/employees/import/page.tsx - Employee portal
app/(employee)/employee/page.tsx
Restaurant operations
- Inventory
app/(app)/atsargos/page.tsx - Recipes and COGS
lib/cogs/engine.ts - Compliance and incidents
app/(admin)/compliance/page.tsx - Automation rules
app/(app)/automations/page.tsx - AI assistant
app/(app)/ai/assistant/page.tsx
Finance and procurement
- Procurement
app/(app)/procurement/page.tsx - Invoice OCR
lib/procurement/ocr/pipeline.ts - Accounting and payroll
app/(app)/accounting/page.tsx
Platform and administration
- CRM and leads
app/(admin)/crm/page.tsx - Administration
app/(admin)/layout.tsx - Supabase data store
Internal engines
- Corrective chains
lib/corrective/engine.ts - Automation engine
lib/ai/automation/engine.ts - AI worker pipeline
lib/ai/worker/pipeline.ts - Celebrations
lib/celebrations/engine.ts - Notification dispatch
Other components
- Manager
- Employee
- AI provider
Connections 21
- Manager → Procurement: manages purchasing
- Manager → Scheduling and time: manages schedules
- Manager → Training: manages learning
- Employee → Employee portal: uses portal
- Employee → Training: takes training
- Employee import → Employee import: imports employees
- Invoice OCR → AI provider: extracts invoice
- Invoice OCR → Supabase data store: reads and writes
- Invoice OCR → Procurement: prepares invoices
- Recipes and COGS → Inventory: reads product costs
- Recipes and COGS → Supabase data store: loads sales and purchases
- Corrective chains → Supabase data store: reads and writes incidents
- Corrective chains → Notification dispatch: sends notices
- Automation engine → Supabase data store: records runs
- Automation engine → Notification dispatch: sends notices
- Celebrations → Notification dispatch: sends greetings
- AI assistant → AI worker pipeline: handles chat turns
- AI worker pipeline → AI provider: parses intent
- AI worker pipeline → Supabase data store: stores conversations
- CRM and leads → Manager: supports lead management
- Administration → Manager: provides oversight