# hemanthkattamuri/my-port architecture

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

- Interactive diagram: https://gitdiagram.com/hemanthkattamuri/my-port
- Repository: https://github.com/hemanthkattamuri/my-port

## Overview

1. **Overall shape**
   - This repository is primarily a **client-side portfolio SPA** built with **React + TypeScript + Vite**.
   - The app is organized as a single landing experience with multiple scrollable sections rather than separate pages or a backend-driven workflow.

2. **Runtime entry point**
   - `index.html` is the browser shell.
   - `src/main.tsx` bootstraps the React app and mounts `src/App.tsx`.
   - `App.tsx` is the top-level composition layer that assembles the portfolio sections.

3. **Page composition**
   - The main UI is split into self-contained section components under `src/components/`:
     - `Header`, `Hero`, `About`, `Skills`, `Projects`, `Education`, `Certifications`, `Research`, `Analytics`, `Leadership`, `FutureVision`, `Contact`
   - This suggests a **section-based portfolio layout** where each module owns one slice of content and presentation.

4. **Interactive showcase features**
   - The README highlights an **interactive 3D robo assistant** and **voice narration**.
   - In architecture terms, these are browser-side experience layers layered into the portfolio, likely centered in `AIChatBot` and/or `Hero`.
   - These features depend on **front-end capabilities only**; no server-side AI pipeline or database is visible in the repo tree.

5. **UI component boundary**
   - `src/components/ui/` contains reusable visual primitives:
     - `card.tsx`
     - `spotlight.tsx`
     - `splite.tsx`
   - These are shared building blocks used by the higher-level portfolio sections to keep the page consistent and modular.

6. **Styling and design system**
   - Global styling lives in `src/index.css`.
   - `src/lib/utils.ts` supports component composition/utilities.
   - The presence of component primitives and utility helpers suggests a **design-system-style front end** rather than ad hoc styling everywhere.

7. **Static content and assets**
   - `assets/` holds static media used by the portfolio, such as images, icons, and other presentation assets.
   - `metadata.json` likely stores SEO or app metadata for the portfolio.
   - Most content appears to be **static, authored content** embedded in components rather than fetched from APIs.

8. **Types and content structure**
   - `src/types.ts` centralizes shared TypeScript shapes for content and component contracts.
   - This indicates the app uses typed props/data models to keep the many section components consistent.

9. **Server boundary**
   - `server.ts` exists, but the repository tree does not show a full backend stack, routes, or persistence layer.
   - Architecturally, treat it as a **separate runtime entry** for hosting or auxiliary serving, not the core of the application.
   - The core product still appears to be a **browser-rendered portfolio**.

10. **Tooling, build, and delivery**
   - `vite.config.ts`, `tsconfig.json`, `package.json`, and `package-lock.json` define the build toolchain.
   - `.github/workflows/build-test.yml` provides CI validation.
   - This is a typical static front-end delivery model: **build in CI, run in the browser, deploy as a static site or lightweight server-hosted app**.

11. **Important architectural boundary for diagrams**
   - The main data flow is: **browser loads app shell → React mounts → App composes section components → sections render static content + interactive browser features**.
   - There is **no visible database, auth system, or third-party backend integration** in the repository structure.
   - For an architecture diagram, the central boundary is between the **client SPA** and the **browser/platform APIs** it uses for interaction, animation, and speech.

Main entry points: [`src/App.tsx`](https://github.com/hemanthkattamuri/my-port/blob/main/src/App.tsx) (App), [`src/main.tsx`](https://github.com/hemanthkattamuri/my-port/blob/main/src/main.tsx) (main.tsx), [`src/components/Hero.tsx`](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Hero.tsx) (Hero), [`src/components/ui/card.tsx`](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/ui/card.tsx) (UI Primitives)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Runtime"]
  node_index_html["index.html<br/>browser shell<br/>[index.html]"]
  node_main_tsx["main.tsx<br/>bootstrap<br/>[main.tsx]"]
  node_assets[("assets<br/>static media")]
  node_server["server.ts<br/>auxiliary server<br/>[server.ts]"]
end

subgraph group_ui["UI System"]
  node_app_tsx["App<br/>composition root<br/>[App.tsx]"]
  node_header["Header<br/>section<br/>[Header.tsx]"]
  node_hero["Hero<br/>section<br/>[Hero.tsx]"]
  node_about["About<br/>section<br/>[About.tsx]"]
  node_skills["Skills<br/>section<br/>[Skills.tsx]"]
  node_projects["Projects<br/>section<br/>[Projects.tsx]"]
  node_education["Education<br/>section<br/>[Education.tsx]"]
  node_certifications["Certifications<br/>section<br/>[Certifications.tsx]"]
  node_research["Research<br/>section<br/>[Research.tsx]"]
  node_analytics["Analytics<br/>section<br/>[Analytics.tsx]"]
  node_leadership["Leadership<br/>section<br/>[Leadership.tsx]"]
  node_future_vision["Future Vision<br/>section<br/>[FutureVision.tsx]"]
  node_contact["Contact<br/>section<br/>[Contact.tsx]"]
  node_ai_chatbot(("AI ChatBot<br/>interactive feature<br/>[AIChatBot.tsx]"))
  node_ui_primitives["UI Primitives<br/>shared components<br/>[card.tsx]"]
end

subgraph group_tooling["Tooling"]
  node_utils["utils<br/>helpers<br/>[utils.ts]"]
  node_types["types<br/>[types.ts]"]
  node_styles["index.css<br/>global styles<br/>[index.css]"]
  node_metadata["metadata.json<br/>app metadata<br/>[metadata.json]"]
  node_vite["vite.config.ts<br/>build config<br/>[vite.config.ts]"]
  node_ci["build-test.yml<br/>ci workflow<br/>[build-test.yml]"]
end

node_index_html -->|"loads"| node_main_tsx
node_main_tsx -->|"mounts"| node_app_tsx
node_app_tsx -->|"renders"| node_header
node_app_tsx -->|"renders"| node_hero
node_app_tsx -->|"renders"| node_about
node_app_tsx -->|"renders"| node_skills
node_app_tsx -->|"renders"| node_projects
node_app_tsx -->|"renders"| node_education
node_app_tsx -->|"renders"| node_certifications
node_app_tsx -->|"renders"| node_research
node_app_tsx -->|"renders"| node_analytics
node_app_tsx -->|"renders"| node_leadership
node_app_tsx -->|"renders"| node_future_vision
node_app_tsx -->|"renders"| node_contact
node_hero -->|"hosts"| node_ai_chatbot
node_app_tsx -->|"uses"| node_ui_primitives
node_ui_primitives -->|"depends on"| node_utils
node_app_tsx -->|"shares models"| node_types
node_app_tsx -->|"styled by"| node_styles
node_app_tsx -->|"uses"| node_assets
node_app_tsx -->|"described by"| node_metadata
node_server -.->|"serves"| node_app_tsx
node_vite -->|"builds"| node_main_tsx
node_ci -->|"runs"| node_vite

click node_index_html "https://github.com/hemanthkattamuri/my-port/blob/main/index.html"
click node_main_tsx "https://github.com/hemanthkattamuri/my-port/blob/main/src/main.tsx"
click node_app_tsx "https://github.com/hemanthkattamuri/my-port/blob/main/src/App.tsx"
click node_header "https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Header.tsx"
click node_hero "https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Hero.tsx"
click node_about "https://github.com/hemanthkattamuri/my-port/blob/main/src/components/About.tsx"
click node_skills "https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Skills.tsx"
click node_projects "https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Projects.tsx"
click node_education "https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Education.tsx"
click node_certifications "https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Certifications.tsx"
click node_research "https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Research.tsx"
click node_analytics "https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Analytics.tsx"
click node_leadership "https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Leadership.tsx"
click node_future_vision "https://github.com/hemanthkattamuri/my-port/blob/main/src/components/FutureVision.tsx"
click node_contact "https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Contact.tsx"
click node_ai_chatbot "https://github.com/hemanthkattamuri/my-port/blob/main/src/components/AIChatBot.tsx"
click node_ui_primitives "https://github.com/hemanthkattamuri/my-port/blob/main/src/components/ui/card.tsx"
click node_utils "https://github.com/hemanthkattamuri/my-port/blob/main/src/lib/utils.ts"
click node_types "https://github.com/hemanthkattamuri/my-port/blob/main/src/types.ts"
click node_styles "https://github.com/hemanthkattamuri/my-port/blob/main/src/index.css"
click node_assets "https://github.com/hemanthkattamuri/my-port/tree/main/assets"
click node_metadata "https://github.com/hemanthkattamuri/my-port/blob/main/metadata.json"
click node_server "https://github.com/hemanthkattamuri/my-port/blob/main/server.ts"
click node_vite "https://github.com/hemanthkattamuri/my-port/blob/main/vite.config.ts"
click node_ci "https://github.com/hemanthkattamuri/my-port/blob/main/.github/workflows/build-test.yml"

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_index_html,node_main_tsx,node_assets,node_server toneBlue
class node_app_tsx,node_header,node_hero,node_about,node_skills,node_projects,node_education,node_certifications,node_research,node_analytics,node_leadership,node_future_vision,node_contact,node_ai_chatbot,node_ui_primitives toneAmber
class node_utils,node_types,node_styles,node_metadata,node_vite,node_ci toneMint
```

## Components

### Runtime

Browser app and optional server entry

- [index.html](https://github.com/hemanthkattamuri/my-port/blob/main/index.html): browser shell · Entry HTML that loads the app · `index.html`
- [main.tsx](https://github.com/hemanthkattamuri/my-port/blob/main/src/main.tsx): bootstrap · Mounts the React application · `src/main.tsx`
- [assets](https://github.com/hemanthkattamuri/my-port/tree/main/assets): static media · Images and presentation assets · `assets`
- [server.ts](https://github.com/hemanthkattamuri/my-port/blob/main/server.ts): auxiliary server · Separate runtime entry for hosting or serving · `server.ts`

### UI System

Reusable components and page sections

- [App](https://github.com/hemanthkattamuri/my-port/blob/main/src/App.tsx): composition root · Top-level portfolio layout assembly · `src/App.tsx`
- [Header](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Header.tsx): section · Top navigation and branding · `src/components/Header.tsx`
- [Hero](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Hero.tsx): section · Landing intro and showcase · `src/components/Hero.tsx`
- [About](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/About.tsx): section · Personal background and summary · `src/components/About.tsx`
- [Skills](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Skills.tsx): section · Capabilities and technologies · `src/components/Skills.tsx`
- [Projects](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Projects.tsx): section · Work and portfolio highlights · `src/components/Projects.tsx`
- [Education](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Education.tsx): section · Academic history · `src/components/Education.tsx`
- [Certifications](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Certifications.tsx): section · Credentials and certificates · `src/components/Certifications.tsx`
- [Research](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Research.tsx): section · Research experience and outputs · `src/components/Research.tsx`
- [Analytics](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Analytics.tsx): section · Metrics or data-focused showcase · `src/components/Analytics.tsx`
- [Leadership](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Leadership.tsx): section · Leadership and activities · `src/components/Leadership.tsx`
- [Future Vision](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/FutureVision.tsx): section · Goals and forward-looking narrative · `src/components/FutureVision.tsx`
- [Contact](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/Contact.tsx): section · Reach-out and links · `src/components/Contact.tsx`
- [AI ChatBot](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/AIChatBot.tsx): interactive feature · Browser-side assistant and voice-like experience · `src/components/AIChatBot.tsx`
- [UI Primitives](https://github.com/hemanthkattamuri/my-port/blob/main/src/components/ui/card.tsx): shared components · Reusable card and spotlight building blocks · `src/components/ui/card.tsx`

### Tooling

Build, types, and CI

- [utils](https://github.com/hemanthkattamuri/my-port/blob/main/src/lib/utils.ts): helpers · Shared component utility functions · `src/lib/utils.ts`
- [types](https://github.com/hemanthkattamuri/my-port/blob/main/src/types.ts): shared types · Common TypeScript contracts for content · `src/types.ts`
- [index.css](https://github.com/hemanthkattamuri/my-port/blob/main/src/index.css): global styles · App-wide styling and presentation rules · `src/index.css`
- [metadata.json](https://github.com/hemanthkattamuri/my-port/blob/main/metadata.json): app metadata · SEO or portfolio metadata · `metadata.json`
- [vite.config.ts](https://github.com/hemanthkattamuri/my-port/blob/main/vite.config.ts): build config · Vite build and dev setup · `vite.config.ts`
- [build-test.yml](https://github.com/hemanthkattamuri/my-port/blob/main/.github/workflows/build-test.yml): ci workflow · Automated build and validation · `.github/workflows/build-test.yml`

## Connections

- index.html → main.tsx: loads · Browser shell loads the React entry
- main.tsx → App: mounts · Bootstraps the application root
- App → Header: renders · Composes the portfolio sections
- App → Hero: renders · Composes the portfolio sections
- App → About: renders · Composes the portfolio sections
- App → Skills: renders · Composes the portfolio sections
- App → Projects: renders · Composes the portfolio sections
- App → Education: renders · Composes the portfolio sections
- App → Certifications: renders · Composes the portfolio sections
- App → Research: renders · Composes the portfolio sections
- App → Analytics: renders · Composes the portfolio sections
- App → Leadership: renders · Composes the portfolio sections
- App → Future Vision: renders · Composes the portfolio sections
- App → Contact: renders · Composes the portfolio sections
- Hero → AI ChatBot: hosts · Showcase feature layered into the landing experience
- App → UI Primitives: uses · Shared presentation building blocks
- UI Primitives → utils: depends on · Composition helpers for reusable components
- App → types: shares models · Common content and prop contracts
- App → index.css: styled by · Global styling for the SPA
- App → assets: uses · Static media consumed by sections
- App → metadata.json: described by · Portfolio metadata and SEO content
- server.ts → App: serves · Auxiliary runtime around the client app
- vite.config.ts → main.tsx: builds · Frontend bundling and dev server setup
- build-test.yml → vite.config.ts: runs · CI validates the build pipeline
