# codewitharyank/personal-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/codewitharyank/personal-portfolio
- Repository: https://github.com/codewitharyank/personal-portfolio

## Overview

##### Project type and purpose
- There is no backend application or database; all content is served as static assets, likely via a web server or CDN (e.g. GitHub Pages, Netlify).

##### File structure
- PORTFOLIO/
- projects image/ – screenshots or photos of projects
- index.html – the main HTML page
- styles.css – site-wide CSS rules
- req.js – a tiny script to fetch or inject content dynamically (e.g. project list)
- README.md doesn’t declare any special architecture beyond “Personal-Portfolio.”

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Client
    Browser["User Browser"]:::client

    %% Static Hosting Layer
    subgraph "Static Hosting / CDN"
        direction TB
        subgraph "Static Assets"
            direction TB
            HTML["index.html"]:::asset
            CSS["styles.css"]:::asset
            JS["req.js"]:::asset
            Icons["icons/"]:::asset
            Images["projects image/"]:::asset
        end
    end

    %% Third-Party Services
    subgraph "Third-Party Services"
        direction TB
        Analytics["Analytics Service"]:::external
        FormAPI["Contact Form API"]:::external
    end

    %% Connections
    Browser -->|"GET index.html\nGET styles.css\nGET req.js\nGET icons/*\nGET projects image/*"| HTML
    Browser -->|"GET index.html\nGET styles.css\nGET req.js\nGET icons/*\nGET projects image/*"| CSS
    Browser -->|"GET index.html\nGET styles.css\nGET req.js\nGET icons/*\nGET projects image/*"| JS
    Browser -->|"GET index.html\nGET styles.css\nGET req.js\nGET icons/*\nGET projects image/*"| Icons
    Browser -->|"GET index.html\nGET styles.css\nGET req.js\nGET icons/*\nGET projects image/*"| Images

    Browser -->|"executes req.js"| JS
    JS -->|"(optional) fetch additional JSON content"| HTML

    Browser -->|"POST form data (Contact)"| FormAPI
    Browser -->|"Analytics beacon"| Analytics

    %% Click Events
    click HTML "https://github.com/codewitharyank/personal-portfolio/blob/main/PORTFOLIO/index.html"
    click CSS "https://github.com/codewitharyank/personal-portfolio/blob/main/PORTFOLIO/styles.css"
    click JS "https://github.com/codewitharyank/personal-portfolio/blob/main/PORTFOLIO/req.js"
    click Icons "https://github.com/codewitharyank/personal-portfolio/tree/main/PORTFOLIO/icons/"
    click Images "https://github.com/codewitharyank/personal-portfolio/tree/main/PORTFOLIO/projects image/"

    %% Styles
    classDef client fill:#B3E5FC,stroke:#0288D1,color:#000
    classDef hosting fill:#C8E6C9,stroke:#2E7D32,color:#000
    classDef asset fill:#FFF9C4,stroke:#F9A825,color:#000
    classDef external fill:#FFCDD2,stroke:#C62828,color:#000
```
