# kunalkharga/kunalportfolio architecture

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

- Interactive diagram: https://gitdiagram.com/kunalkharga/kunalportfolio
- Repository: https://github.com/kunalkharga/kunalportfolio

## Overview

##### Project type and purpose
- This is a simple, static front-end portfolio website.
- The only entry point is index.html; styling is in style.css; behavior is in script.js; additional assets (a PDF CV) live under the Assets folder.

##### File structure
- Top level:
- index.html – the HTML entry point
- style.css – global stylesheet
- script.js – client-side interactivity
- README.md – project description (“This is my portfolio”)
- Assets/ – holds static files (in this case, Kunal’s CV PDF)
- No backend, database, or build scripts – purely static.

##### README for additional insights
- Confirms the goal: present a personal portfolio.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Client Layer
    subgraph "Client"
        direction TB
        Browser["User Web Browser"]:::client
    end

    %% DNS & CDN Layer
    subgraph "DNS & CDN Layer"
        direction TB
        DNS["DNS Lookup & SSL/TLS"]:::host
        CDN["CDN Cache"]:::host
    end

    %% Hosting & Storage Layer
    subgraph "Hosting & Static Storage"
        direction TB
        Host["Static-site Hosting Platform"]:::host
        subgraph "Static Assets"
            direction TB
            HTML["index.html"]:::asset
            CSS["style.css"]:::asset
            JS["script.js"]:::asset
            AssetsDir["Assets/"]:::asset
            PDF["Kunal kharga CV.pdf"]:::asset
        end
    end

    %% Repository & Deployment
    subgraph "Repository & CI/CD"
        direction TB
        Repo["Git Repository"]:::repo
        README["README.md"]:::asset
        CI["CI/CD Pipeline"]:::cicd
    end

    %% Connections
    Browser -->|"1. DNS Query"| DNS
    DNS -->|"2. TLS Handshake"| CDN
    Browser -->|"3. HTTP GET /index.html"| CDN
    CDN -->|"4. Serve index.html"| Browser
    Browser -->|"5. HTTP GET /style.css"| CDN
    CDN -->|"6. Serve style.css"| Browser
    Browser -->|"7. HTTP GET /script.js"| CDN
    CDN -->|"8. Serve script.js"| Browser
    Browser -->|"9. HTTP GET /Assets/Kunal kharga CV.pdf"| CDN
    CDN -->|"10. Serve CV PDF"| Browser

    Repo -->|"Commit & Push"| CI
    CI -->|"Deploy Static Files"| Host
    Host -->|"Invalidate Cache"| CDN

    %% Click Events
    click HTML "https://github.com/kunalkharga/kunalportfolio/blob/master/index.html"
    click CSS "https://github.com/kunalkharga/kunalportfolio/blob/master/style.css"
    click JS "https://github.com/kunalkharga/kunalportfolio/blob/master/script.js"
    click AssetsDir "https://github.com/kunalkharga/kunalportfolio/tree/master/Assets/"
    click PDF "https://github.com/kunalkharga/kunalportfolio/blob/master/Assets/Kunal kharga CV.pdf"
    click README "https://github.com/kunalkharga/kunalportfolio/blob/master/README.md"

    %% Styles
    classDef client fill:#B3D4FC,stroke:#0366d6,color:#0366d6;
    classDef host fill:#D4F8C4,stroke:#28A745,color:#22863A;
    classDef asset fill:#EDEDED,stroke:#6A737D,color:#24292E;
    classDef repo fill:#FEEFB3,stroke:#DBAB09,color:#735C0F;
    classDef cicd fill:#FFF5B1,stroke:#E36209,color:#A04100;
```
