How dreeking/studio works
This repository is a Next.js point-of-sale and small-business operations interface presented as a Firebase Studio starter. The user-facing surface spans sales, order and delivery handling, business records, reporting, and configuration; a WhatsApp assistant is the distinct AI capability. The sampled pages primarily keep state in the client, and no persistent application database or backend is evidenced. Relationships among unsampled routes are therefore omitted; the visible AI links and sampled UI dependencies are shown where supported.
Main entry points: ui UI Components · use-toast.ts Toast State · dashboard/page.tsx Dashboard · sales/page.tsx Point Of Sale
Components 22
Store Operations
- Point Of Sale
src/app/(main)/sales/page.tsx - Cash Register
src/app/(main)/cash-register/open/page.tsx - Orders
src/app/(main)/orders/page.tsx - Delivery
src/app/(main)/delivery/page.tsx - Courier Management
src/app/(main)/couriers/page.tsx - Customers
src/app/(main)/customers/page.tsx - Products
src/app/(main)/products/page.tsx - Sales History
src/app/(main)/sales-history/page.tsx
Dashboard And Reports
Business Administration
- Settings
src/app/(main)/settings/page.tsx
WhatsApp Assistant
- Support
src/app/(main)/support/page.tsx - WhatsApp Assistant UI
src/app/(main)/support/whatsapp-assistant-client.tsx - Order Processing Flow
src/ai/flows/whatsapp-order-processing.ts - Genkit Setup
src/ai/genkit.ts
Shared Interface
- UI Components
src/components/ui - Toast State
src/hooks/use-toast.ts - Navigation Sidebar
src/components/layout/main-sidebar.tsx - Metric Card
src/components/dashboard/metric-card.tsx - Channel Chart
src/components/dashboard/sales-by-channel-chart.tsx
Other components
- Store Operator
- App Home
src/app/page.tsx
Connections 28
- Store Operator → App Home: opens
- WhatsApp Assistant UI → Order Processing Flow: submits to
src/app/(main)/support/whatsapp-assistant-client.tsx - Order Processing Flow → Genkit Setup: uses
src/ai/flows/whatsapp-order-processing.ts - Point Of Sale → UI Components: renders
src/app/(main)/sales/page.tsx - Point Of Sale → Toast State: notifies via
src/app/(main)/sales/page.tsx - Cash Register → UI Components: renders
src/app/(main)/cash-register/open/page.tsx - Cash Register → Toast State: notifies via
src/app/(main)/cash-register/open/page.tsx - Orders → UI Components: renders
src/app/(main)/orders/page.tsx - Orders → Toast State: notifies via
src/app/(main)/orders/page.tsx - Delivery → UI Components: renders
src/app/(main)/delivery/page.tsx - Delivery → Toast State: notifies via
src/app/(main)/delivery/page.tsx - Courier Management → UI Components: renders
src/app/(main)/couriers/page.tsx - Courier Management → Toast State: notifies via
src/app/(main)/couriers/page.tsx - Customers → UI Components: renders
src/app/(main)/customers/page.tsx - Customers → Toast State: notifies via
src/app/(main)/customers/page.tsx - Products → UI Components: renders
src/app/(main)/products/page.tsx - Products → Toast State: notifies via
src/app/(main)/products/page.tsx - Sales History → UI Components: renders
src/app/(main)/sales-history/page.tsx - Sales History → Toast State: notifies via
src/app/(main)/sales-history/page.tsx - Reports → UI Components: renders
src/app/(main)/reports/page.tsx - Reports → Toast State: notifies via
src/app/(main)/reports/page.tsx - Settings → UI Components: renders
src/app/(main)/settings/page.tsx - Dashboard → Metric Card: renders
src/app/(main)/dashboard/page.tsx - Dashboard → Channel Chart: renders
src/app/(main)/dashboard/page.tsx - Metric Card → UI Components: uses
src/components/dashboard/metric-card.tsx - Channel Chart → UI Components: uses
src/components/dashboard/sales-by-channel-chart.tsx - Navigation Sidebar → UI Components: uses
src/components/layout/main-sidebar.tsx - App Home → Dashboard: routes to