# hasyaramprakash7/expobluxury architecture

> Architecture diagram of the GitHub repository hasyaramprakash7/expobluxury, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/hasyaramprakash7/expobluxury
- Repository: https://github.com/hasyaramprakash7/expobluxury

## Overview

BLuxury is a multi-role mobile commerce and local-services app: customers discover products and shops, manage a cart and orders, while vendors and delivery partners have operational screens. The source index and excerpts confirm app initialization, product search, cart updates, authentication, and call handling. The tree also identifies distinct advertising, property/rental, insurance, appointment, lead, browser, and AI capabilities; their internal wiring is not shown, so those branches are represented without speculative connections.

Main entry points: [`App.tsx`](https://github.com/hasyaramprakash7/expobluxury/blob/main/App.tsx) (App navigation), [`src/components/CallManager.tsx`](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/components/CallManager.tsx) (Call manager), [`src/screens/ProductSearchScreen.tsx`](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/screens/ProductSearchScreen.tsx) (Product search), [`src/components/NewPeoductCard1.tsx`](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/components/NewPeoductCard1.tsx) (Product card)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App foundation"]
  node_app["App navigation<br/>[App.tsx]"]
  node_store["Redux store<br/>[store.ts]"]
  node_auth["User authentication<br/>[authSlice.ts]"]
end

subgraph group_shopping["Customer shopping"]
  node_search["Product search"]
  node_location["Location state<br/>[locationSlice.ts]"]
  node_productcard["Product card"]
  node_cart["Cart state<br/>[cartSlice.ts]"]
  node_cartui["Cart screen<br/>[Cart.tsx]"]
  node_orders["Order management<br/>[orderSlice.ts]"]
  node_categories["Category management"]
end

subgraph group_operations["Vendor and delivery"]
  node_vendor["Vendor onboarding"]
  node_vendordash["Vendor dashboard"]
  node_vendororders["Vendor orders"]
  node_delivery["Delivery operations"]
end

subgraph group_services["Local services"]
  node_ads["Advertising"]
  node_property["Property and rental<br/>[propertySlice.ts]"]
  node_insurance["Insurance products<br/>[insuranceSlice.ts]"]
  node_appointments["Appointments"]
  node_leads["Vendor leads<br/>[leadSlice.ts]"]
  node_ai["Offline AI<br/>[localAIService.ts]"]
  node_browser["In-app browser<br/>[GlobalBrowser.tsx]"]
end

subgraph group_engagement["Communication"]
  node_chat["Chat screen<br/>[ChatScreen.tsx]"]
  node_chatstate["Chat state<br/>[chatSlice.ts]"]
  node_calls["Call manager<br/>[CallManager.tsx]"]
  node_socket["Realtime socket<br/>[socket.ts]"]
  node_notifications["Push notifications"]
end

node_customer(("Customer"))

node_customer -.->|"opens"| node_app
node_app -.->|"uses"| node_store
node_app -->|"loads config"| node_auth
node_app -->|"sets up"| node_notifications
node_search -->|"dispatches"| node_location
node_productcard -->|"updates"| node_cart
node_app -->|"routes to"| node_vendor
node_app -->|"routes to"| node_vendordash
node_app -->|"routes to"| node_vendororders
node_app -->|"routes to"| node_delivery
node_calls -->|"dispatches"| node_chatstate
node_calls -->|"handles events"| node_socket

click node_app "https://github.com/hasyaramprakash7/expobluxury/blob/main/App.tsx"
click node_store "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/app/store.ts"
click node_auth "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/user/authSlice.ts"
click node_search "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/screens/ProductSearchScreen.tsx"
click node_location "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/locationSlice.ts"
click node_productcard "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/components/NewPeoductCard1.tsx"
click node_cart "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/cart/cartSlice.ts"
click node_cartui "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/screens/Cart.tsx"
click node_orders "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/orders/orderSlice.ts"
click node_categories "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/navigation/CategoryManagementScreen.tsx"
click node_vendor "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/vendorScreens/SignupVendorScreen.tsx"
click node_vendordash "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/vendorScreens/VendorDashboardScreen.tsx"
click node_vendororders "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/vendorScreens/VendorOrderList.tsx"
click node_delivery "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/deliveryBoyScreens/DeliveryBoyDashboardScreen.tsx"
click node_ads "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/screens/AdManagementScreen.tsx"
click node_property "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/propertySlice.ts"
click node_insurance "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/insuranceSlice.ts"
click node_appointments "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/appointmentSlice.ts"
click node_leads "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/leadSlice.ts"
click node_ai "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/localAIService.ts"
click node_browser "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/navigation/GlobalBrowser.tsx"
click node_chat "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/screens/ChatScreen.tsx"
click node_chatstate "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/chat/chatSlice.ts"
click node_calls "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/components/CallManager.tsx"
click node_socket "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/userScreens/utils/socket.ts"
click node_notifications "https://github.com/hasyaramprakash7/expobluxury/blob/main/src/userScreens/utils/NotificationHelper.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_store,node_auth toneBlue
class node_search,node_location,node_productcard,node_cart,node_cartui,node_orders,node_categories toneAmber
class node_vendor,node_vendordash,node_vendororders,node_delivery toneMint
class node_ads,node_property,node_insurance,node_appointments,node_leads,node_ai,node_browser toneRose
class node_chat,node_chatstate,node_calls,node_socket,node_notifications,node_customer toneIndigo
```

## Components

### App foundation

- [App navigation](https://github.com/hasyaramprakash7/expobluxury/blob/main/App.tsx): `App.tsx`
- [Redux store](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/app/store.ts): `src/app/store.ts`
- [User authentication](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/user/authSlice.ts): `src/features/user/authSlice.ts`

### Customer shopping

- [Product search](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/screens/ProductSearchScreen.tsx): `src/screens/ProductSearchScreen.tsx`
- [Location state](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/locationSlice.ts): `src/features/locationSlice.ts`
- [Product card](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/components/NewPeoductCard1.tsx): `src/components/NewPeoductCard1.tsx`
- [Cart state](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/cart/cartSlice.ts): `src/features/cart/cartSlice.ts`
- [Cart screen](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/screens/Cart.tsx): `src/screens/Cart.tsx`
- [Order management](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/orders/orderSlice.ts): `src/features/orders/orderSlice.ts`
- [Category management](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/navigation/CategoryManagementScreen.tsx): `src/navigation/CategoryManagementScreen.tsx`

### Vendor and delivery

- [Vendor onboarding](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/vendorScreens/SignupVendorScreen.tsx): `src/vendorScreens/SignupVendorScreen.tsx`
- [Vendor dashboard](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/vendorScreens/VendorDashboardScreen.tsx): `src/vendorScreens/VendorDashboardScreen.tsx`
- [Vendor orders](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/vendorScreens/VendorOrderList.tsx): `src/vendorScreens/VendorOrderList.tsx`
- [Delivery operations](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/deliveryBoyScreens/DeliveryBoyDashboardScreen.tsx): `src/deliveryBoyScreens/DeliveryBoyDashboardScreen.tsx`

### Local services

- [Advertising](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/screens/AdManagementScreen.tsx): `src/screens/AdManagementScreen.tsx`
- [Property and rental](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/propertySlice.ts): `src/features/propertySlice.ts`
- [Insurance products](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/insuranceSlice.ts): `src/features/insuranceSlice.ts`
- [Appointments](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/appointmentSlice.ts): `src/features/appointmentSlice.ts`
- [Vendor leads](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/leadSlice.ts): `src/features/leadSlice.ts`
- [Offline AI](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/localAIService.ts): `src/features/localAIService.ts`
- [In-app browser](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/navigation/GlobalBrowser.tsx): `src/navigation/GlobalBrowser.tsx`

### Communication

- [Chat screen](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/screens/ChatScreen.tsx): `src/screens/ChatScreen.tsx`
- [Chat state](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/features/chat/chatSlice.ts): `src/features/chat/chatSlice.ts`
- [Call manager](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/components/CallManager.tsx): `src/components/CallManager.tsx`
- [Realtime socket](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/userScreens/utils/socket.ts): `src/userScreens/utils/socket.ts`
- [Push notifications](https://github.com/hasyaramprakash7/expobluxury/blob/main/src/userScreens/utils/NotificationHelper.ts): `src/userScreens/utils/NotificationHelper.ts`

### Other components

- **Customer**

## Connections

- Customer → App navigation: opens
- App navigation → Redux store: uses (evidence: `App.tsx`)
- App navigation → User authentication: loads config (evidence: `App.tsx`)
- App navigation → Push notifications: sets up (evidence: `App.tsx`)
- Product search → Location state: dispatches (evidence: `src/screens/ProductSearchScreen.tsx`)
- Product card → Cart state: updates (evidence: `src/components/NewPeoductCard1.tsx`)
- App navigation → Vendor onboarding: routes to (evidence: `App.tsx`)
- App navigation → Vendor dashboard: routes to (evidence: `App.tsx`)
- App navigation → Vendor orders: routes to (evidence: `App.tsx`)
- App navigation → Delivery operations: routes to (evidence: `App.tsx`)
- Call manager → Chat state: dispatches (evidence: `src/components/CallManager.tsx`)
- Call manager → Realtime socket: handles events (evidence: `src/components/CallManager.tsx`)
