# otniel113/minipbi architecture

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

- Interactive diagram: https://gitdiagram.com/otniel113/minipbi
- Repository: https://github.com/otniel113/minipbi

## Overview

##### Project type and purpose
- This is a static front-end portfolio website (“MiniPBI”) made up of HTML, CSS, JavaScript, and static assets.
- It has no custom backend: it’s deployed as a purely static site on Vercel.

##### File structure
- index.html sits in the root as the single entry point.
- css/styles.css holds the site’s styling.
- js/scripts.js contains any client‐side behavior or interactivity.
- assets/ holds images or other static files.
- No server-side directories or build scripts—everything is served as static files.

##### README for additional insights
- Confirms that it’s deployed on Vercel (a CDN-backed static host).
- No mention of external APIs or databases.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Client Layer
    subgraph "Client Layer"
        Browser["Browser"]:::client
    end

    %% CI/CD Pipeline
    subgraph "CI/CD Pipeline"
        GitRepo["Git Repository"]:::vcs
        VercelCI["Vercel CI/CD"]:::hosting
    end

    %% Hosting / CDN Layer
    subgraph "Hosting Layer"
        CDN["Vercel CDN (Static Hosting & CDN)"]:::hosting
    end

    %% Origin Storage
    subgraph "Origin Storage"
        IndexFile["index.html"]:::origin
        CSSFile["css/styles.css"]:::origin
        JSFile["js/scripts.js"]:::origin
        AssetsDir["assets/"]:::origin
    end

    %% Data Flows
    GitRepo -->|push commit| VercelCI
    VercelCI -->|deploy static site| CDN

    Browser -->|HTTP GET /, /css/styles.css, /js/scripts.js, assets| CDN
    CDN -->|serve cached content| Browser
    CDN -->|cache miss, fetch file| IndexFile
    CDN -->|cache miss, fetch file| CSSFile
    CDN -->|cache miss, fetch file| JSFile
    CDN -->|cache miss, fetch assets| AssetsDir

    %% Click Events
    click IndexFile "https://github.com/otniel113/minipbi/blob/main/index.html"
    click CSSFile "https://github.com/otniel113/minipbi/blob/main/css/styles.css"
    click JSFile "https://github.com/otniel113/minipbi/blob/main/js/scripts.js"
    click AssetsDir "https://github.com/otniel113/minipbi/tree/main/assets/"

    %% Styles
    classDef client fill:#cdebf9,stroke:#0366d6,color:#0366d6;
    classDef hosting fill:#d3f9d8,stroke:#059862,color:#059862;
    classDef origin fill:#f0f0f0,stroke:#888888,color:#555555;
    classDef vcs fill:#e5d5f8,stroke:#6f42c1,color:#6f42c1;
```
