# priyeshsingh24/turbo-telegram architecture

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

- Interactive diagram: https://gitdiagram.com/priyeshsingh24/turbo-telegram
- Repository: https://github.com/priyeshsingh24/turbo-telegram

## Overview

This workspace contains a React customer-portal app and small shared UI/utility packages. The visible runtime path is the browser entry point mounting the portal App; the App implementation was not sampled, so its internal screens and domain workflow cannot be described reliably. The shared Button and currency formatter are identifiable, but no sampled source shows the portal using them. Build, test, and configuration tooling is omitted.

Main entry points: [`apps/customer-portal/src/main.tsx`](https://github.com/priyeshsingh24/turbo-telegram/blob/main/apps/customer-portal/src/main.tsx) (App bootstrap), [`packages/ui/src/Button.tsx`](https://github.com/priyeshsingh24/turbo-telegram/blob/main/packages/ui/src/Button.tsx) (Shared Button), [`apps/customer-portal/src/App.tsx`](https://github.com/priyeshsingh24/turbo-telegram/blob/main/apps/customer-portal/src/App.tsx) (Portal App), [`packages/ui/src/Button.module.css`](https://github.com/priyeshsingh24/turbo-telegram/blob/main/packages/ui/src/Button.module.css) (Button styles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portal["Customer portal"]
  node_entry["App bootstrap<br/>[main.tsx]"]
  node_app["Portal App<br/>[App.tsx]"]
  node_app_component["App component<br/>[app.tsx]"]
end

subgraph group_shared["Shared packages"]
  node_button["Shared Button<br/>[Button.tsx]"]
  node_button_style["Button styles<br/>[Button.module.css]"]
  node_currency["Currency formatter<br/>[index.tsx]"]
end

node_browser(("Browser"))

node_browser -.->|"loads"| node_entry
node_entry -->|"renders"| node_app
node_button -->|"imports styles"| node_button_style

click node_entry "https://github.com/priyeshsingh24/turbo-telegram/blob/main/apps/customer-portal/src/main.tsx"
click node_app "https://github.com/priyeshsingh24/turbo-telegram/blob/main/apps/customer-portal/src/App.tsx"
click node_app_component "https://github.com/priyeshsingh24/turbo-telegram/blob/main/apps/customer-portal/src/app/app.tsx"
click node_button "https://github.com/priyeshsingh24/turbo-telegram/blob/main/packages/ui/src/Button.tsx"
click node_button_style "https://github.com/priyeshsingh24/turbo-telegram/blob/main/packages/ui/src/Button.module.css"
click node_currency "https://github.com/priyeshsingh24/turbo-telegram/blob/main/packages/utils/src/index.tsx"

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_entry,node_app,node_app_component,node_browser toneBlue
class node_button,node_button_style,node_currency toneAmber
```

## Components

### Customer portal

- [App bootstrap](https://github.com/priyeshsingh24/turbo-telegram/blob/main/apps/customer-portal/src/main.tsx): `apps/customer-portal/src/main.tsx`
- [Portal App](https://github.com/priyeshsingh24/turbo-telegram/blob/main/apps/customer-portal/src/App.tsx): `apps/customer-portal/src/App.tsx`
- [App component](https://github.com/priyeshsingh24/turbo-telegram/blob/main/apps/customer-portal/src/app/app.tsx): `apps/customer-portal/src/app/app.tsx`

### Shared packages

- [Shared Button](https://github.com/priyeshsingh24/turbo-telegram/blob/main/packages/ui/src/Button.tsx): `packages/ui/src/Button.tsx`
- [Button styles](https://github.com/priyeshsingh24/turbo-telegram/blob/main/packages/ui/src/Button.module.css): `packages/ui/src/Button.module.css`
- [Currency formatter](https://github.com/priyeshsingh24/turbo-telegram/blob/main/packages/utils/src/index.tsx): `packages/utils/src/index.tsx`

### Other components

- **Browser**

## Connections

- Browser → App bootstrap: loads
- App bootstrap → Portal App: renders (evidence: `apps/customer-portal/src/main.tsx`)
- Shared Button → Button styles: imports styles (evidence: `packages/ui/src/Button.tsx`)
