How deviceuser57-tech/zoos2 works
Zoos Electronics is a bilingual smart-electronics storefront with operational tools for catalog management, inventory, point-of-sale, and dropshipping. The main customer journey is browsing and comparing products, adding items to a cart, checking out, then tracking the order; the shared store context holds the application state behind those screens. Separate staff workflows cover administration, AI-assisted product work, supplier operations, and in-store sales. The README is empty, so capability coverage comes from the source index and visible UI excerpts; links for unsampled implementations are omitted rather than inferred.
Main entry points: App.tsx Application Shell · StoreContext.tsx Store State · DropshipOpsPortal.tsx Dropship Operations · CartDrawer.tsx Cart
Components 25
Storefront
- Application Shell
src/App.tsx - Product Catalog
src/components/ProductCard.tsx - Product Details
src/components/ProductDetailModal.tsx - Product Comparison
src/components/ProductComparisonModal.tsx - Compatibility Finder
src/components/CompatibilityFinder.tsx - Wishlist
src/components/WishlistDrawer.tsx
Commerce Operations
- Cart
src/components/CartDrawer.tsx - Checkout
src/components/CheckoutModal.tsx - Secure Checkout
src/utils/SecureCheckoutProcessor.ts - Order Tracking
src/components/OrderTrackingView.tsx - Point of Sale
src/components/PosRegisterModal.tsx - POS Receipt
src/components/PosReceipt.tsx - Order Outbox Worker
src/hooks/useOrderOutboxProcessor.ts
Staff Tools
- Admin Portal
src/components/AdminPortal.tsx - Business Dashboard
src/components/BIDashboard.tsx - Dropship Operations
src/components/DropshipOpsPortal.tsx - Stock Alerts
src/components/StockAlertManager.tsx - AI Product Studio
src/components/AiImageStudioModal.tsx - AI Product Import
src/utils/AiProductImportProcessor.ts - AI Product Refiner
src/utils/AiProductRefiner.ts
Shared Foundation
- Store State
src/context/StoreContext.tsx - Product Seed Data
src/data/mockProducts.ts - Browser Storage
src/hooks/useLocalStorage.ts - Atomic Reservation
src/utils/AtomicReserve.ts
Other components
- Customer
Connections 30
- Customer → Application Shell: browses
- Application Shell → Product Catalog: renders
src/App.tsx - Application Shell → Product Comparison: renders
src/App.tsx - Application Shell → Cart: renders
src/App.tsx - Application Shell → Order Tracking: renders
src/App.tsx - Application Shell → Admin Portal: renders
src/App.tsx - Application Shell → Dropship Operations: renders
src/App.tsx - Application Shell → Wishlist: renders
src/App.tsx - Application Shell → Point of Sale: renders
src/App.tsx - Application Shell → AI Product Studio: renders
src/App.tsx - Application Shell → Compatibility Finder: renders
src/App.tsx - Cart → Checkout: opens
src/components/CartDrawer.tsx - Checkout → Secure Checkout: delegates to
src/components/CheckoutModal.tsx - Point of Sale → POS Receipt: renders
src/components/PosRegisterModal.tsx - Admin Portal → Business Dashboard: renders
src/components/AdminPortal.tsx - Dropship Operations → Stock Alerts: renders
src/components/DropshipOpsPortal.tsx - Dropship Operations → AI Product Refiner: uses
src/components/DropshipOpsPortal.tsx - AI Product Studio → AI Product Import: uses
src/components/AiImageStudioModal.tsx - AI Product Studio → AI Product Refiner: uses
src/components/AiImageStudioModal.tsx - Store State → Browser Storage: persists via
src/context/StoreContext.tsx - Store State → Product Seed Data: initializes from
src/context/StoreContext.tsx - Store State → Atomic Reservation: reserves with
src/context/StoreContext.tsx - Checkout → Store State: reads and updates
src/components/CheckoutModal.tsx - Cart → Store State: reads and updates
src/components/CartDrawer.tsx - Order Tracking → Store State: reads
src/components/OrderTrackingView.tsx - Admin Portal → Store State: reads and updates
src/components/AdminPortal.tsx - Dropship Operations → Store State: reads and updates
src/components/DropshipOpsPortal.tsx - Stock Alerts → Store State: reads
src/components/StockAlertManager.tsx - Business Dashboard → Store State: reads
src/components/BIDashboard.tsx - Order Outbox Worker → Store State: processes events via
src/hooks/useOrderOutboxProcessor.ts