# yoanndev90/alphallm-website architecture

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

- Interactive diagram: https://gitdiagram.com/yoanndev90/alphallm-website
- Repository: https://github.com/yoanndev90/alphallm-website

## Overview

##### Main Components
- Index.html – The entry point of the application which is delivered by the static file server.
- Assets Folder – Contains all the supporting files:
○ browser.js and index.js – JavaScript files that manage client-side functionality.
○ index.css – The styles used to render the page.
- Hosting Infrastructure – Although not explicitly part of your file tree, the existence of a CNAME file and the provided URL implies external hosting (like GitHub Pages, Netlify, etc.) that serves the static content.

##### Relationships and Interactions
- Client (Browser) – Loads index.html, which then references the CSS and JS files in the assets folder.
- JS Files – These script files are responsible for any browser interactions, DOM manipulation, or client-side logic.
- CSS – Provides styling for the HTML content.
- Hosting/Server – A static file server delivers index.html and related assets to the user’s browser; there isn’t a dynamic backend here.

##### Architectural Patterns and Principles
- Static Web Architecture – Simple file-serving without a separate backend layer.
- Separation of Concerns – Clearly divided responsibilities: HTML for content structure, CSS for styling, and JavaScript for behavior.
- Client-Side Processing – All logic runs in the user’s browser, emphasizing a light-weight and fast-loading page.

##### Incorporate Relevant Technologies
- HTML, CSS, and JavaScript – The core web technologies used.

## Diagram (Mermaid)

```mermaid
flowchart TD
    A["User's Browser"]:::client
    B["Static Hosting Service"]:::hosting
    C["index.html (Entry Point)"]:::html
    D["Custom Domain Config (CNAME)"]:::config

    subgraph "Assets"
        E["index.css (Styles)"]:::css
        F["browser.js (Script)"]:::js
        G["index.js (Script)"]:::js
    end

    A -->|"requests"| B
    B -->|"serves"| C
    B -->|"configured_with"| D
    C -->|"loads"| E
    C -->|"loads"| F
    C -->|"loads"| G

    click C "https://github.com/yoanndev90/alphallm-website/blob/main//index.html"
    click E "https://github.com/yoanndev90/alphallm-website/blob/main//assets/index.css"
    click F "https://github.com/yoanndev90/alphallm-website/blob/main//assets/browser.js"
    click G "https://github.com/yoanndev90/alphallm-website/blob/main//assets/index.js"
    click D "https://github.com/yoanndev90/alphallm-website/tree/main//CNAME"

    classDef client fill:#a4defc,stroke:#333,stroke-width:2px;
    classDef hosting fill:#ffd700,stroke:#333,stroke-width:2px;
    classDef html fill:#90ee90,stroke:#333,stroke-width:2px;
    classDef css fill:#ffabff,stroke:#333,stroke-width:2px;
    classDef js fill:#add8e6,stroke:#333,stroke-width:2px;
    classDef config fill:#dda0dd,stroke:#333,stroke-width:2px;
```
