How marilu-su/takeandgo works
Take&Go is a buffet take-away platform with customer ordering, store administration, kitchen operations, and pickup workflows. Customers browse a store catalog and place scheduled orders; staff manage catalog and stock, prepare orders, and confirm pickup. The graph reflects the sampled API wiring and documented frontend/API/database boundary. Several product capabilities are represented by repository subsystems, but their detailed execution paths were not sampled; MenIA is documented but has no implementation path in the supplied tree.
Main entry points: app.ts API application · order Order handling · catalog Catalog management · (customer) Customer views
Components 20
Customer experience
- Web application
apps/web/src/app - Customer views
apps/web/src/app/(customer) - Catalog interface
apps/web/src/components/catalog.tsx - Cart interface
apps/web/src/components/cart-panel.tsx - MenIA assistant
Buffet operations
- Catalog management
apps/api/src/modules/catalog - Stock control
apps/api/src/modules/stock - Organization and stores
apps/api/src/modules/organization - Customer profiles
apps/api/src/modules/customer - Store administration
apps/web/src/app/(store-admin)
Order fulfillment
- Kitchen workflow
apps/api/src/modules/kitchen - Kitchen queue
apps/web/src/components/kitchen-queue.tsx - Order handling
apps/api/src/modules/order - Payment processing
apps/api/src/modules/payment - Pickup confirmation
apps/api/src/modules/pickup - Pickup workflow
apps/web/src/app/(customer)/pedidos/[id]/page.tsx
API platform
- API application
apps/api/src/app.ts - Authentication
apps/api/src/infrastructure/auth - PostgreSQL
Other components
- Customer
Connections 21
- Customer → Web application: uses
README.md - Web application → API application: calls API
README.md - API application → PostgreSQL: checks database
README.md - API application → Authentication: registers
apps/api/src/app.ts - API application → Catalog management: registers routes
apps/api/src/app.ts - API application → Customer profiles: registers routes
apps/api/src/app.ts - API application → Stock control: registers routes
apps/api/src/app.ts - API application → Order handling: registers routes
apps/api/src/app.ts - API application → Kitchen workflow: registers routes
apps/api/src/app.ts - API application → Pickup confirmation: registers routes
apps/api/src/app.ts - API application → Organization and stores: registers routes
apps/api/src/app.ts - Customer views → Catalog interface: shows catalog
- Customer views → Cart interface: builds orders
- Store administration → Catalog management: manages catalog
- Store administration → Stock control: manages stock
- Kitchen queue → Kitchen workflow: supports preparation
- Pickup workflow → Pickup confirmation: confirms pickup
- Order handling → Catalog management: reads catalog
apps/api/src/modules/order/infrastructure/http/orderRoutes.ts - Order handling → Customer profiles: reads preferences
apps/api/src/modules/order/infrastructure/http/orderRoutes.ts - Order handling → Payment processing: uses payment
apps/api/src/modules/order/infrastructure/orderModule.ts - MenIA assistant → Customer: assists ordering
README.md