# pavan-kumar-vishwakarma/portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/pavan-kumar-vishwakarma/portfolio
- Repository: https://github.com/pavan-kumar-vishwakarma/portfolio

## Overview

##### Project type and purpose
- There is no dedicated backend or database—everything is served as static content.

##### File structure
- Top-level files:
– index.html (entry point / single page)
– styles.css (presentation layer)
– script.js (behavior / client-side logic)
– README.md (project title only)
- No build scripts or server-side code; static assets only.

##### README for additional insights
- The README simply states “# Portfolio,” confirming this is a personal/static site.
- No architecture notes, dependencies, or external services documented.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Client Layer
    subgraph "Client Side"
        B["User's Browser"]:::client
    end

    %% Hosting Layer
    subgraph "Hosting/CDN" 
        H["Static Hosting Platform / CDN"]:::hosting
    end

    %% Static Files
    subgraph "Static Files" 
        HTML["index.html"]:::client
        CSS["styles.css"]:::client
        JS["script.js"]:::client
    end

    %% Assets
    subgraph "Asset Repository"
        Images["asset/images"]:::assets
        ProjectMedia["asset/project"]:::assets
        SkillIcons["asset/skill"]:::assets
    end

    %% Deployment Pipeline (Optional)
    subgraph "CI/CD Pipeline" 
        Repo["Git Repository"]:::ci
        CI["GitHub Actions"]:::ci
    end

    %% External Services
    subgraph "External Services" 
        Analytics["Google Analytics / Form Service"]:::ext
    end

    %% Relationships
    B -->|"Request index.html"| H
    H -->|"Serves HTML"| HTML
    HTML -->|"Loads CSS"| CSS
    HTML -->|"Loads JS"| JS
    JS -->|"Fetches assets"| Images
    JS -->|"Fetches assets"| ProjectMedia
    JS -->|"Fetches assets"| SkillIcons
    JS -->|"Sends data"| Analytics
    B -->|"Sends analytics"| Analytics

    Repo -->|"Push code"| CI
    CI -->|"Deploy static site"| H

    %% Click Events
    click HTML "https://github.com/pavan-kumar-vishwakarma/portfolio/blob/main/index.html"
    click CSS "https://github.com/pavan-kumar-vishwakarma/portfolio/blob/main/styles.css"
    click JS "https://github.com/pavan-kumar-vishwakarma/portfolio/blob/main/script.js"
    click Images "https://github.com/pavan-kumar-vishwakarma/portfolio/tree/main/asset/images"
    click ProjectMedia "https://github.com/pavan-kumar-vishwakarma/portfolio/tree/main/asset/project"
    click SkillIcons "https://github.com/pavan-kumar-vishwakarma/portfolio/tree/main/asset/skill"
    click Repo "https://github.com/pavan-kumar-vishwakarma/portfolio/blob/main/README.md"

    %% Styles
    classDef client fill:#FFD57E,stroke:#333,stroke-width:1px
    classDef hosting fill:#A6E1FA,stroke:#333,stroke-width:1px
    classDef assets fill:#C4F0C5,stroke:#333,stroke-width:1px
    classDef ci fill:#E3C4FA,stroke:#333,stroke-width:1px
    classDef ext fill:#F4C4C4,stroke:#333,stroke-width:1px
```
