# atharvgujare/bizmanager architecture

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

- Interactive diagram: https://gitdiagram.com/atharvgujare/bizmanager
- Repository: https://github.com/atharvgujare/bizmanager

## Overview

This is a business-management product with a web console, mobile app, and ASP.NET API. Users authenticate, then review business activity and manage sales, inventory, customers, and related records; mobile store actions call API endpoints and the API persists domain data. The web app also exposes broader retail capabilities such as GST compliance, barcode design, branch management, online orders, and service tickets. These are primarily represented by frontend views in the available evidence. Some subsystem wiring is not sampled, so those relationships are omitted.

Main entry points: [`frontend/src/App.tsx`](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/App.tsx) (Web App Shell), [`mobile/App.tsx`](https://github.com/atharvgujare/bizmanager/blob/main/mobile/App.tsx) (Mobile App Shell), [`mobile/src/store/useAppStore.ts`](https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/store/useAppStore.ts) (Mobile App State), [`frontend/src/components/common/PageHeader.tsx`](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/common/PageHeader.tsx) (Shared Page Header)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web Console"]
  node_web_app["Web App Shell<br/>[App.tsx]"]
  node_web_dashboard["Dashboard<br/>[DashboardView.tsx]"]
  node_web_sales["Point of Sale<br/>[BillingPosView.tsx]"]
  node_web_customers["Customer Management"]
  node_web_products["Product Management"]
  node_web_stock["Stock Management"]
  node_web_invoices["Invoice Management"]
  node_web_analysis["Business Analysis<br/>[AnalysisBiView.tsx]"]
  node_web_access["Role Access"]
  node_web_settings["Business Settings<br/>[SettingsView.tsx]"]
  node_web_barcode["Barcode Design"]
  node_web_gst["GST Compliance"]
  node_web_suppliers["Supplier Management"]
  node_web_branches["Branch Management"]
  node_web_reorder["AI Reordering"]
  node_web_online["Online Store"]
  node_web_warranty["Warranty Service"]
  node_web_header["Shared Page Header<br/>[PageHeader.tsx]"]
end

subgraph group_mobile["Mobile App"]
  node_mobile_app["Mobile App Shell<br/>[App.tsx]"]
  node_mobile_auth["Authentication Screen<br/>[AuthScreen.tsx]"]
  node_mobile_dashboard["Mobile Dashboard"]
  node_mobile_pos["Mobile POS<br/>[PosScreen.tsx]"]
  node_mobile_masters["Mobile Masters"]
  node_mobile_khata["Mobile Khata<br/>[KhataScreen.tsx]"]
  node_mobile_more["Mobile More<br/>[MoreScreen.tsx]"]
  node_mobile_store["Mobile App State<br/>[useAppStore.ts]"]
  node_mobile_client["HTTP API Client<br/>[client.ts]"]
end

subgraph group_api["Business API"]
  node_api_host["API Host<br/>[Program.cs]"]
  node_api_auth["Authentication API<br/>[AuthController.cs]"]
  node_api_dashboard["Dashboard API"]
  node_api_customers["Customer API"]
end

subgraph group_data["Domain Data"]
  node_data_store[("Application Database<br/>data store")]
end

node_web_user(("Business User"))
node_mobile_user(("Mobile User"))

node_web_user -->|"uses"| node_web_app
node_web_app -->|"renders"| node_web_dashboard
node_web_app -->|"renders"| node_web_sales
node_web_app -->|"renders"| node_web_customers
node_web_app -->|"renders"| node_web_products
node_web_app -->|"renders"| node_web_stock
node_web_app -->|"renders"| node_web_invoices
node_web_app -->|"renders"| node_web_analysis
node_web_app -->|"renders"| node_web_access
node_web_app -->|"renders"| node_web_settings
node_web_app -->|"renders"| node_web_barcode
node_web_app -->|"renders"| node_web_gst
node_web_app -->|"renders"| node_web_suppliers
node_web_app -->|"renders"| node_web_branches
node_web_app -->|"renders"| node_web_reorder
node_web_customers -->|"renders"| node_web_header
node_web_barcode -->|"renders"| node_web_header
node_web_gst -->|"renders"| node_web_header
node_web_suppliers -->|"renders"| node_web_header
node_web_branches -->|"renders"| node_web_header
node_web_reorder -->|"renders"| node_web_header
node_web_warranty -->|"renders"| node_web_header
node_mobile_user -->|"uses"| node_mobile_app
node_mobile_app -->|"renders"| node_mobile_auth
node_mobile_app -->|"renders"| node_mobile_dashboard
node_mobile_app -->|"renders"| node_mobile_pos
node_mobile_app -->|"renders"| node_mobile_masters
node_mobile_app -->|"renders"| node_mobile_khata
node_mobile_app -->|"renders"| node_mobile_more
node_mobile_auth -->|"calls"| node_mobile_store
node_mobile_dashboard -->|"reads"| node_mobile_store
node_mobile_masters -->|"reads"| node_mobile_store
node_mobile_pos -->|"calls"| node_mobile_store
node_mobile_khata -->|"reads"| node_mobile_store
node_mobile_more -->|"calls"| node_mobile_store
node_mobile_store -->|"requests"| node_mobile_client
node_mobile_client -->|"sends HTTP"| node_api_host
node_api_host -.->|"routes"| node_api_auth
node_api_host -.->|"routes"| node_api_dashboard
node_api_host -.->|"routes"| node_api_customers
node_api_auth -->|"reads/writes"| node_data_store
node_api_dashboard -->|"queries"| node_data_store
node_api_customers -->|"reads/writes"| node_data_store

click node_web_app "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/App.tsx"
click node_web_dashboard "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/DashboardView.tsx"
click node_web_sales "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/BillingPosView.tsx"
click node_web_customers "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/CustomerMasterView.tsx"
click node_web_products "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/ProductsMasterView.tsx"
click node_web_stock "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/StockMasterView.tsx"
click node_web_invoices "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/InvoiceMasterView.tsx"
click node_web_analysis "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/AnalysisBiView.tsx"
click node_web_access "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/RoleBasedAccessView.tsx"
click node_web_settings "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/SettingsView.tsx"
click node_web_barcode "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/BarcodeDesignerMasterView.tsx"
click node_web_gst "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/GstComplianceMasterView.tsx"
click node_web_suppliers "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/SupplierMasterView.tsx"
click node_web_branches "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/BranchMasterView.tsx"
click node_web_reorder "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/AiReorderMasterView.tsx"
click node_web_online "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/OnlineDukanMasterView.tsx"
click node_web_warranty "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/WarrantyServiceMasterView.tsx"
click node_web_header "https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/common/PageHeader.tsx"
click node_mobile_app "https://github.com/atharvgujare/bizmanager/blob/main/mobile/App.tsx"
click node_mobile_auth "https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/screens/AuthScreen.tsx"
click node_mobile_dashboard "https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/screens/DashboardScreen.tsx"
click node_mobile_pos "https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/screens/PosScreen.tsx"
click node_mobile_masters "https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/screens/MastersHubScreen.tsx"
click node_mobile_khata "https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/screens/KhataScreen.tsx"
click node_mobile_more "https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/screens/MoreScreen.tsx"
click node_mobile_store "https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/store/useAppStore.ts"
click node_mobile_client "https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/api/client.ts"
click node_api_host "https://github.com/atharvgujare/bizmanager/blob/main/backend/Program.cs"
click node_api_auth "https://github.com/atharvgujare/bizmanager/blob/main/backend/Controllers/AuthController.cs"
click node_api_dashboard "https://github.com/atharvgujare/bizmanager/blob/main/backend/Controllers/DashboardController.cs"
click node_api_customers "https://github.com/atharvgujare/bizmanager/blob/main/backend/Controllers/CustomersController.cs"
click node_data_store "https://github.com/atharvgujare/bizmanager/blob/main/backend/Data/AppDbContext.cs"

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_web_app,node_web_dashboard,node_web_sales,node_web_customers,node_web_products,node_web_stock,node_web_invoices,node_web_analysis,node_web_access,node_web_settings,node_web_barcode,node_web_gst,node_web_suppliers,node_web_branches,node_web_reorder,node_web_online,node_web_warranty,node_web_header,node_web_user,node_mobile_user toneBlue
class node_mobile_app,node_mobile_auth,node_mobile_dashboard,node_mobile_pos,node_mobile_masters,node_mobile_khata,node_mobile_more,node_mobile_store,node_mobile_client toneAmber
class node_api_host,node_api_auth,node_api_dashboard,node_api_customers toneMint
class node_data_store toneRose
```

## Components

### Web Console

- [Web App Shell](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/App.tsx): `frontend/src/App.tsx`
- [Dashboard](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/DashboardView.tsx): `frontend/src/components/DashboardView.tsx`
- [Point of Sale](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/BillingPosView.tsx): `frontend/src/components/BillingPosView.tsx`
- [Customer Management](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/CustomerMasterView.tsx): `frontend/src/components/CustomerMasterView.tsx`
- [Product Management](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/ProductsMasterView.tsx): `frontend/src/components/ProductsMasterView.tsx`
- [Stock Management](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/StockMasterView.tsx): `frontend/src/components/StockMasterView.tsx`
- [Invoice Management](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/InvoiceMasterView.tsx): `frontend/src/components/InvoiceMasterView.tsx`
- [Business Analysis](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/AnalysisBiView.tsx): `frontend/src/components/AnalysisBiView.tsx`
- [Role Access](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/RoleBasedAccessView.tsx): `frontend/src/components/RoleBasedAccessView.tsx`
- [Business Settings](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/SettingsView.tsx): `frontend/src/components/SettingsView.tsx`
- [Barcode Design](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/BarcodeDesignerMasterView.tsx): `frontend/src/components/BarcodeDesignerMasterView.tsx`
- [GST Compliance](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/GstComplianceMasterView.tsx): `frontend/src/components/GstComplianceMasterView.tsx`
- [Supplier Management](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/SupplierMasterView.tsx): `frontend/src/components/SupplierMasterView.tsx`
- [Branch Management](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/BranchMasterView.tsx): `frontend/src/components/BranchMasterView.tsx`
- [AI Reordering](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/AiReorderMasterView.tsx): `frontend/src/components/AiReorderMasterView.tsx`
- [Online Store](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/OnlineDukanMasterView.tsx): `frontend/src/components/OnlineDukanMasterView.tsx`
- [Warranty Service](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/WarrantyServiceMasterView.tsx): `frontend/src/components/WarrantyServiceMasterView.tsx`
- [Shared Page Header](https://github.com/atharvgujare/bizmanager/blob/main/frontend/src/components/common/PageHeader.tsx): `frontend/src/components/common/PageHeader.tsx`

### Mobile App

- [Mobile App Shell](https://github.com/atharvgujare/bizmanager/blob/main/mobile/App.tsx): `mobile/App.tsx`
- [Authentication Screen](https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/screens/AuthScreen.tsx): `mobile/src/screens/AuthScreen.tsx`
- [Mobile Dashboard](https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/screens/DashboardScreen.tsx): `mobile/src/screens/DashboardScreen.tsx`
- [Mobile POS](https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/screens/PosScreen.tsx): `mobile/src/screens/PosScreen.tsx`
- [Mobile Masters](https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/screens/MastersHubScreen.tsx): `mobile/src/screens/MastersHubScreen.tsx`
- [Mobile Khata](https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/screens/KhataScreen.tsx): `mobile/src/screens/KhataScreen.tsx`
- [Mobile More](https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/screens/MoreScreen.tsx): `mobile/src/screens/MoreScreen.tsx`
- [Mobile App State](https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/store/useAppStore.ts): `mobile/src/store/useAppStore.ts`
- [HTTP API Client](https://github.com/atharvgujare/bizmanager/blob/main/mobile/src/api/client.ts): `mobile/src/api/client.ts`

### Business API

- [API Host](https://github.com/atharvgujare/bizmanager/blob/main/backend/Program.cs): `backend/Program.cs`
- [Authentication API](https://github.com/atharvgujare/bizmanager/blob/main/backend/Controllers/AuthController.cs): `backend/Controllers/AuthController.cs`
- [Dashboard API](https://github.com/atharvgujare/bizmanager/blob/main/backend/Controllers/DashboardController.cs): `backend/Controllers/DashboardController.cs`
- [Customer API](https://github.com/atharvgujare/bizmanager/blob/main/backend/Controllers/CustomersController.cs): `backend/Controllers/CustomersController.cs`

### Domain Data

- [Application Database](https://github.com/atharvgujare/bizmanager/blob/main/backend/Data/AppDbContext.cs): data store · `backend/Data/AppDbContext.cs`

### Other components

- **Business User**
- **Mobile User**

## Connections

- Business User → Web App Shell: uses (evidence: `frontend/src/App.tsx`)
- Web App Shell → Dashboard: renders (evidence: `frontend/src/App.tsx`)
- Web App Shell → Point of Sale: renders (evidence: `frontend/src/App.tsx`)
- Web App Shell → Customer Management: renders (evidence: `frontend/src/App.tsx`)
- Web App Shell → Product Management: renders (evidence: `frontend/src/App.tsx`)
- Web App Shell → Stock Management: renders (evidence: `frontend/src/App.tsx`)
- Web App Shell → Invoice Management: renders (evidence: `frontend/src/App.tsx`)
- Web App Shell → Business Analysis: renders (evidence: `frontend/src/App.tsx`)
- Web App Shell → Role Access: renders (evidence: `frontend/src/App.tsx`)
- Web App Shell → Business Settings: renders (evidence: `frontend/src/App.tsx`)
- Web App Shell → Barcode Design: renders (evidence: `frontend/src/App.tsx`)
- Web App Shell → GST Compliance: renders (evidence: `frontend/src/App.tsx`)
- Web App Shell → Supplier Management: renders (evidence: `frontend/src/App.tsx`)
- Web App Shell → Branch Management: renders (evidence: `frontend/src/App.tsx`)
- Web App Shell → AI Reordering: renders (evidence: `frontend/src/App.tsx`)
- Customer Management → Shared Page Header: renders (evidence: `frontend/src/components/CustomerMasterView.tsx`)
- Barcode Design → Shared Page Header: renders (evidence: `frontend/src/components/BarcodeDesignerMasterView.tsx`)
- GST Compliance → Shared Page Header: renders (evidence: `frontend/src/components/GstComplianceMasterView.tsx`)
- Supplier Management → Shared Page Header: renders
- Branch Management → Shared Page Header: renders (evidence: `frontend/src/components/BranchMasterView.tsx`)
- AI Reordering → Shared Page Header: renders (evidence: `frontend/src/components/AiReorderMasterView.tsx`)
- Warranty Service → Shared Page Header: renders (evidence: `frontend/src/components/WarrantyServiceMasterView.tsx`)
- Mobile User → Mobile App Shell: uses (evidence: `mobile/App.tsx`)
- Mobile App Shell → Authentication Screen: renders (evidence: `mobile/App.tsx`)
- Mobile App Shell → Mobile Dashboard: renders (evidence: `mobile/App.tsx`)
- Mobile App Shell → Mobile POS: renders (evidence: `mobile/App.tsx`)
- Mobile App Shell → Mobile Masters: renders (evidence: `mobile/App.tsx`)
- Mobile App Shell → Mobile Khata: renders (evidence: `mobile/App.tsx`)
- Mobile App Shell → Mobile More: renders (evidence: `mobile/App.tsx`)
- Authentication Screen → Mobile App State: calls (evidence: `mobile/src/screens/AuthScreen.tsx`)
- Mobile Dashboard → Mobile App State: reads (evidence: `mobile/src/screens/DashboardScreen.tsx`)
- Mobile Masters → Mobile App State: reads (evidence: `mobile/src/screens/MastersHubScreen.tsx`)
- Mobile POS → Mobile App State: calls (evidence: `mobile/src/screens/PosScreen.tsx`)
- Mobile Khata → Mobile App State: reads (evidence: `mobile/src/screens/KhataScreen.tsx`)
- Mobile More → Mobile App State: calls (evidence: `mobile/src/screens/MoreScreen.tsx`)
- Mobile App State → HTTP API Client: requests (evidence: `mobile/src/store/useAppStore.ts`)
- HTTP API Client → API Host: sends HTTP (evidence: `mobile/src/api/client.ts`)
- API Host → Authentication API: routes
- API Host → Dashboard API: routes
- API Host → Customer API: routes
- Authentication API → Application Database: reads/writes (evidence: `backend/Controllers/AuthController.cs`)
- Dashboard API → Application Database: queries (evidence: `backend/Controllers/DashboardController.cs`)
- Customer API → Application Database: reads/writes (evidence: `backend/Controllers/CustomersController.cs`)
