# jyothi324/ui architecture

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

- Interactive diagram: https://gitdiagram.com/jyothi324/ui
- Repository: https://github.com/jyothi324/ui

## Overview

This repository is a Next.js business-operations application whose route tree exposes customer onboarding, lead and estimate handling, job tracking, payments, procurement, scheduling, analytics, and reporting. A principal user journey appears to move from onboarding and lead management through estimates and jobs to payment and reporting; the tree does not establish that runtime sequence. The README describes authentication, 2FA, validation, maps, PDF viewing, and real-time events. No source excerpts were provided, so relationships are limited to the README’s registration-form description rather than inferred from coexisting routes.

Main entry points: [`app/auth/register/page.tsx`](https://github.com/jyothi324/ui/blob/main/app/auth/register/page.tsx) (Registration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_identity["Identity and access"]
  node_registration["Registration<br/>[page.tsx]"]
  node_login["Login<br/>[page.tsx]"]
  node_permissions["Permissions<br/>[page.tsx]"]
end

subgraph group_customer_ops["Customer operations"]
  node_onboarding["Customer onboarding<br/>[page.tsx]"]
  node_leads["Lead management<br/>[page.tsx]"]
  node_estimates["Estimate creation<br/>[page.tsx]"]
  node_jobs["Job tracking<br/>[page.tsx]"]
  node_schedule["Scheduling<br/>[page.tsx]"]
  node_customers["Customer management<br/>[page.tsx]"]
end

subgraph group_finance_procurement["Finance and procurement"]
  node_payments["Payments<br/>[page.tsx]"]
  node_bill_payment["Bill payment<br/>[page.tsx]"]
  node_procurement["Procurement<br/>[page.tsx]"]
  node_inventory["Inventory management<br/>[page.tsx]"]
end

subgraph group_insights_tools["Insights and tools"]
  node_analytics["Analytics<br/>[page.tsx]"]
  node_reports["Reports<br/>[page.tsx]"]
  node_visualizer["Visualizer<br/>[page.tsx]"]
  node_chat["Chat<br/>[page.tsx]"]
  node_api_routes["API routes<br/>[route.ts]"]
end

node_user(("User"))

node_user -->|"registers"| node_registration

click node_registration "https://github.com/jyothi324/ui/blob/main/app/auth/register/page.tsx"
click node_login "https://github.com/jyothi324/ui/blob/main/app/auth/login/page.tsx"
click node_permissions "https://github.com/jyothi324/ui/blob/main/app/permission/page.tsx"
click node_onboarding "https://github.com/jyothi324/ui/blob/main/app/customer-on-boarding/page.tsx"
click node_leads "https://github.com/jyothi324/ui/blob/main/app/leads/page.tsx"
click node_estimates "https://github.com/jyothi324/ui/blob/main/app/leads/estimates/new/page.tsx"
click node_jobs "https://github.com/jyothi324/ui/blob/main/app/leads/jobs/%5Bid%5D/page.tsx"
click node_schedule "https://github.com/jyothi324/ui/blob/main/app/calender/page.tsx"
click node_customers "https://github.com/jyothi324/ui/blob/main/app/leads/customers/page.tsx"
click node_payments "https://github.com/jyothi324/ui/blob/main/app/payments/page.tsx"
click node_bill_payment "https://github.com/jyothi324/ui/blob/main/app/bill-payment/page.tsx"
click node_procurement "https://github.com/jyothi324/ui/blob/main/app/procurement/page.tsx"
click node_inventory "https://github.com/jyothi324/ui/blob/main/app/manager/manage/inventory-management/page.tsx"
click node_analytics "https://github.com/jyothi324/ui/blob/main/app/analytics/page.tsx"
click node_reports "https://github.com/jyothi324/ui/blob/main/app/reports/page.tsx"
click node_visualizer "https://github.com/jyothi324/ui/blob/main/app/leads/visualizer/page.tsx"
click node_chat "https://github.com/jyothi324/ui/blob/main/app/chat/page.tsx"
click node_api_routes "https://github.com/jyothi324/ui/blob/main/app/api/agents/search/route.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_registration,node_login,node_permissions,node_user toneBlue
class node_onboarding,node_leads,node_estimates,node_jobs,node_schedule,node_customers toneAmber
class node_payments,node_bill_payment,node_procurement,node_inventory toneMint
class node_analytics,node_reports,node_visualizer,node_chat,node_api_routes toneRose
```

## Components

### Identity and access

- [Registration](https://github.com/jyothi324/ui/blob/main/app/auth/register/page.tsx): `app/auth/register/page.tsx`
- [Login](https://github.com/jyothi324/ui/blob/main/app/auth/login/page.tsx): `app/auth/login/page.tsx`
- [Permissions](https://github.com/jyothi324/ui/blob/main/app/permission/page.tsx): `app/permission/page.tsx`

### Customer operations

- [Customer onboarding](https://github.com/jyothi324/ui/blob/main/app/customer-on-boarding/page.tsx): `app/customer-on-boarding/page.tsx`
- [Lead management](https://github.com/jyothi324/ui/blob/main/app/leads/page.tsx): `app/leads/page.tsx`
- [Estimate creation](https://github.com/jyothi324/ui/blob/main/app/leads/estimates/new/page.tsx): `app/leads/estimates/new/page.tsx`
- [Job tracking](https://github.com/jyothi324/ui/blob/main/app/leads/jobs/%5Bid%5D/page.tsx): `app/leads/jobs/[id]/page.tsx`
- [Scheduling](https://github.com/jyothi324/ui/blob/main/app/calender/page.tsx): `app/calender/page.tsx`
- [Customer management](https://github.com/jyothi324/ui/blob/main/app/leads/customers/page.tsx): `app/leads/customers/page.tsx`

### Finance and procurement

- [Payments](https://github.com/jyothi324/ui/blob/main/app/payments/page.tsx): `app/payments/page.tsx`
- [Bill payment](https://github.com/jyothi324/ui/blob/main/app/bill-payment/page.tsx): `app/bill-payment/page.tsx`
- [Procurement](https://github.com/jyothi324/ui/blob/main/app/procurement/page.tsx): `app/procurement/page.tsx`
- [Inventory management](https://github.com/jyothi324/ui/blob/main/app/manager/manage/inventory-management/page.tsx): `app/manager/manage/inventory-management/page.tsx`

### Insights and tools

- [Analytics](https://github.com/jyothi324/ui/blob/main/app/analytics/page.tsx): `app/analytics/page.tsx`
- [Reports](https://github.com/jyothi324/ui/blob/main/app/reports/page.tsx): `app/reports/page.tsx`
- [Visualizer](https://github.com/jyothi324/ui/blob/main/app/leads/visualizer/page.tsx): `app/leads/visualizer/page.tsx`
- [Chat](https://github.com/jyothi324/ui/blob/main/app/chat/page.tsx): `app/chat/page.tsx`
- [API routes](https://github.com/jyothi324/ui/blob/main/app/api/agents/search/route.ts): `app/api/agents/search/route.ts`

### Other components

- **User**

## Connections

- User → Registration: registers
