# jovination/myportfolio architecture

> Architecture diagram of the GitHub repository jovination/myportfolio, 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/jovination/myportfolio
- Repository: https://github.com/jovination/myportfolio

## Overview

##### Project type and purpose
- From the file tree and README, this is a simple, static personal portfolio website.
- Purpose: showcase the developer’s work and design skills via a few HTML pages (index.html, about.html, project.html), supported by CSS, JavaScript, and images.

##### File structure
- Top-level files:
- README.md – personal introduction and link to the live site
- index.html, about.html, project.html – core content pages
- script.js – any interactive behavior or DOM manipulation
- Directories:
- css/ – contains project.css, resp.css, style.css for styling, layout, and responsive rules
- No server-side code or database—purely client-side static assets.

##### README for additional insights
- No sections on backend, data stores, or third-party services.
- A single “visit” link implies deployment over HTTPS (likely GitHub Pages, Netlify, or similar).

a. Main components
- Client (Web Browser)
- Static Hosting / CDN
- File Storage (HTML, CSS, JS, images)
- (Optional) External integrations (Analytics, Contact form service)
b. Relationships & interactions
- Browser → HTTP GET → Hosting/CDN → serves HTML
- HTML references CSS & JS → Browser fetches CSS & JS → renders pages
- HTML references images → Browser fetches images
- (If included) Browser → Analytics endpoint
c. Architectural patterns & principles
- Static-site architecture: files prebuilt, served from a CDN or static host
- Browser-based rendering: minimal JS, progressive enhancement
- Cache-first delivery from CDN for performance
d. Key technologies
- HTML5 for structure
- CSS3 for styling and responsive layouts (resp.css)
- Vanilla JavaScript (script.js) for interactivity
- Static hosting (GitHub Pages/Netlify) + optional CDN layer

- index.html, about.html, project.html
- css/ (project.css, resp.css, style.css)
- script.js
- images/
- Browser → GET index.html → CDN
- Browser parses HTML → GET CSS → CDN → apply styles
- Browser parses HTML → GET JS → CDN → execute scripts
- Browser parses HTML → GET images → CDN

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Client
    Browser["Web Browser"]:::client

    %% Hosting / CDN
    CDN(["Static Hosting / CDN"]):::hosting

    %% Site Assets Storage
    subgraph "Site Assets"
        Storage(("Site Assets")):::asset
        index["index.html"]:::asset
        about["about.html"]:::asset
        projectPage["project.html"]:::asset
        projCSS["project.css"]:::asset
        respCSS["resp.css"]:::asset
        styleCSS["style.css"]:::asset
        script["script.js"]:::asset
        images["images/"]:::asset
    end

    %% External Services
    Analytics["Analytics Service"]:::external

    %% Relationships
    Browser -->|"HTTP GET assets"| CDN
    CDN -->|"Serves static assets"| Browser
    CDN --> Storage
    Storage --> index
    Storage --> about
    Storage --> projectPage
    Storage --> projCSS
    Storage --> respCSS
    Storage --> styleCSS
    Storage --> script
    Storage --> images

    Browser -->|"Sends usage data"| Analytics

    %% Click Events
    click index "https://github.com/jovination/myportfolio/blob/main/index.html"
    click about "https://github.com/jovination/myportfolio/blob/main/about.html"
    click projectPage "https://github.com/jovination/myportfolio/blob/main/project.html"
    click projCSS "https://github.com/jovination/myportfolio/blob/main/css/project.css"
    click respCSS "https://github.com/jovination/myportfolio/blob/main/css/resp.css"
    click styleCSS "https://github.com/jovination/myportfolio/blob/main/css/style.css"
    click script "https://github.com/jovination/myportfolio/blob/main/script.js"
    click images "https://github.com/jovination/myportfolio/tree/main/images/"
    click Storage "https://github.com/jovination/myportfolio/blob/main/."

    %% Styles
    classDef client fill:#AED6F1,stroke:#1F618D,color:#1B2631;
    classDef hosting fill:#ABEBC6,stroke:#229954,color:#1B2631;
    classDef asset fill:#F9E79F,stroke:#B7950B,color:#1B2631;
    classDef external fill:#D5D8DC,stroke:#566573,color:#1B2631;
```
