How bonamukkala-bot/atelier-furniture-shop works
This is a furniture storefront and shop-operations application with customer product browsing, ordering and tracking alongside admin management and a delivery-partner portal. The main customer path runs from storefront and product detail to order tracking; staff manage catalog, orders, delivery, customers, and workforce from the admin dashboard, while partners handle assigned deliveries. The map follows documented routes and indexed imports; unsampled modules are included where central, but their internal calls are not assumed.
Main entry points: AdminDashboard.tsx Admin dashboard · supabaseClient.ts Supabase client · StorefrontPage.tsx Storefront · DeliveryOrdersList.tsx Delivery orders
Components 33
Customer storefront
- Storefront
src/pages/StorefrontPage.tsx - Product detail
src/pages/ProductDetailPage.tsx - Product actions
src/components/ProductQuickActions.tsx - Delivery checker
src/components/DeliveryChecker.tsx - Customer reviews
src/components/CustomerReviews.tsx - Review data
src/data/reviews.ts - Order tracking
src/pages/OrderTrackingPage.tsx
Shop operations
- Admin dashboard
src/pages/AdminDashboard.tsx - Product management
src/components/ProductList.tsx - Product editor
src/components/ProductForm.tsx - Order management
src/components/OrderList.tsx - Order entry
src/components/OrderForm.tsx - Customer management
src/components/Customers.tsx - Shop settings
src/components/Settings.tsx - Review requests
src/lib/reviewRequest.ts
Delivery workflow
- Delivery enquiries
src/components/DeliveryEnquiriesList.tsx - Delivery orders
src/components/DeliveryOrdersList.tsx - Delivery confirmation
src/components/DeliveryConfirmationModal.tsx - Partner management
src/components/DeliveryPartnerManagerModal.tsx - Partner dashboard
src/pages/PartnerDashboardPage.tsx - Partner services
src/lib/partnerAuth.ts
Workforce management
- Worker management
src/components/WorkerList.tsx - Worker editor
src/components/WorkerForm.tsx - Attendance calendar
src/components/AttendanceCalendar.tsx - Attendance entry
src/components/AttendanceForm.tsx - Payroll calculations
src/lib/dailyPayroll.ts
Shared services
- Toast notifications
src/context/ToastContext.tsx - Language toggle
src/components/LanguageToggle.tsx - Supabase client
src/lib/supabaseClient.ts
Other components
- Shopper
- Shop administrator
- Delivery partner
- Supabase backend
Connections 38
- Shopper → Storefront: browses
- Storefront → Product detail: opens products
src/pages/StorefrontPage.tsx - Storefront → Supabase client: queries catalog
src/pages/StorefrontPage.tsx - Storefront → Product actions: renders actions
src/pages/StorefrontPage.tsx - Storefront → Customer reviews: renders reviews
src/pages/StorefrontPage.tsx - Storefront → Language toggle: renders toggle
src/pages/StorefrontPage.tsx - Customer reviews → Review data: uses reviews
src/components/CustomerReviews.tsx - Shopper → Order tracking: tracks order
- Order tracking → Supabase client: reads order
src/pages/OrderTrackingPage.tsx - Shop administrator → Admin dashboard: manages shop
- Admin dashboard → Product management: renders catalog
src/pages/AdminDashboard.tsx - Admin dashboard → Product editor: renders editor
src/pages/AdminDashboard.tsx - Admin dashboard → Order management: renders orders
src/pages/AdminDashboard.tsx - Admin dashboard → Order entry: renders entry form
src/pages/AdminDashboard.tsx - Admin dashboard → Customer management: renders customers
src/pages/AdminDashboard.tsx - Admin dashboard → Shop settings: renders settings
src/pages/AdminDashboard.tsx - Admin dashboard → Delivery enquiries: renders enquiries
src/pages/AdminDashboard.tsx - Admin dashboard → Delivery orders: renders deliveries
src/pages/AdminDashboard.tsx - Admin dashboard → Worker management: renders workers
src/pages/AdminDashboard.tsx - Admin dashboard → Worker editor: renders worker form
src/pages/AdminDashboard.tsx - Admin dashboard → Attendance calendar: renders attendance
src/pages/AdminDashboard.tsx - Admin dashboard → Attendance entry: renders attendance form
src/pages/AdminDashboard.tsx - Admin dashboard → Review requests: triggers requests
src/pages/AdminDashboard.tsx - Review requests → Supabase client: reads and updates
src/lib/reviewRequest.ts - Product management → Product editor: renders cards
src/components/ProductList.tsx - Delivery orders → Delivery confirmation: opens confirmation
src/components/DeliveryOrdersList.tsx - Delivery orders → Partner management: opens partner manager
src/components/DeliveryOrdersList.tsx - Admin dashboard → Partner management: manages partners
src/pages/AdminDashboard.tsx - Delivery partner → Partner dashboard: handles deliveries
- Partner dashboard → Partner services: uses partner services
src/pages/PartnerDashboardPage.tsx - Partner management → Partner services: administers partners
src/components/DeliveryPartnerManagerModal.tsx - Partner services → Supabase client: calls backend
src/lib/partnerAuth.ts - Attendance calendar → Payroll calculations: uses calculations
src/components/AttendanceCalendar.tsx - Attendance entry → Payroll calculations: uses calculations
src/components/AttendanceForm.tsx - Attendance calendar → Supabase client: reads records
src/components/AttendanceCalendar.tsx - Attendance entry → Supabase client: writes records
src/components/AttendanceForm.tsx - Worker management → Supabase client: manages records
src/components/WorkerList.tsx - Supabase client → Supabase backend: connects
src/lib/supabaseClient.ts