# csiddharth7906/myportfolio architecture

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

- Interactive diagram: https://gitdiagram.com/csiddharth7906/myportfolio
- Repository: https://github.com/csiddharth7906/myportfolio

## Overview

##### Project type and purpose
- From the file tree and README, this is a single-page, static portfolio website (“MyPortFolio”).
- It delivers HTML, CSS, JavaScript, images, videos, and downloadable resume files to the end user’s browser.

##### File structure
- Top-level files:
- index.html – main entry point
- app.js – custom JavaScript logic (e.g. animations, event handling)
- style.css – site-wide styling
- README.md – minimal documentation
- Asset directories:
- img/ – favicon and other images
- vid/ – demo videos (Amazon, Spotify, Todo, etc.)
- resume/ – PDF and DOCX versions of the resume
- No backend, database, or build tool configuration—purely static content.

##### README for additional insights
- README only repeats the project name; no architecture section or external dependencies listed.

##### Elements
- Clear labels: “Browser,” “Static File Server/CDN,” “index.html,” “style.css,” “app.js,” “img/,” “vid/,” “resume/.”
– From Browser → Server: “GET /index.html”
– From Browser → Server: “GET /style.css, /app.js, /img/*, /vid/*, /resume/*”
– From Server → Browser: HTTP responses with the assets

##### Detail without over-splitting
- Every file category as its own component block (HTML, CSS, JS, Images, Videos, Documents).
- Don’t invent microservices – keep it honest to the static nature of the site.

## Diagram (Mermaid)

```mermaid
flowchart TD
    Browser["User's Browser"]:::client
    Server["Static File Server/CDN"]:::server

    subgraph "Static Assets"
        HTML["index.html"]:::html
        CSS["style.css"]:::css
        JS["app.js"]:::js
        IMG["img/"]:::media
        VID["vid/"]:::media
        RES["resume/"]:::media
    end

    Browser -->|"GET /index.html"| Server
    Server -->|"200 OK: index.html"| Browser

    Browser -->|"GET /style.css"| Server
    Server -->|"200 OK: style.css"| Browser

    Browser -->|"GET /app.js"| Server
    Server -->|"200 OK: app.js"| Browser

    Browser -->|"GET /img/*"| Server
    Server -->|"200 OK: img files"| Browser

    Browser -->|"GET /vid/*"| Server
    Server -->|"200 OK: video files"| Browser

    Browser -->|"GET /resume/*"| Server
    Server -->|"200 OK: resume files"| Browser

    click HTML "https://github.com/csiddharth7906/myportfolio/blob/main/index.html"
    click CSS "https://github.com/csiddharth7906/myportfolio/blob/main/style.css"
    click JS "https://github.com/csiddharth7906/myportfolio/blob/main/app.js"
    click IMG "https://github.com/csiddharth7906/myportfolio/tree/main/img/"
    click VID "https://github.com/csiddharth7906/myportfolio/tree/main/vid/"
    click RES "https://github.com/csiddharth7906/myportfolio/tree/main/resume/"

    classDef client fill:#D1E8FF,stroke:#0366d6,stroke-width:1px
    classDef server fill:#D3F9D8,stroke:#057a3e,stroke-width:1px
    classDef html fill:#FEE2E2,stroke:#b91c1c,stroke-width:1px
    classDef css fill:#FEF3C7,stroke:#92400e,stroke-width:1px
    classDef js fill:#E0F2FE,stroke:#0369a1,stroke-width:1px
    classDef media fill:#F5F5F5,stroke:#6b7280,stroke-width:1px
```
