# nanakjoth/portfolio_web architecture

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

- Interactive diagram: https://gitdiagram.com/nanakjoth/portfolio_web
- Repository: https://github.com/nanakjoth/portfolio_web

## Overview

##### Project type and purpose
- This is a static, front-end–only portfolio website built to showcase human-AI co-creation.
- There is no backend service— all content, interactions, and visualizations run entirely in the browser.
- It is deployed via GitHub Pages.

##### File structure
- Top-level files:
- index.html – the single HTML entry point
- background.js – code for canvas or animated backgrounds
- main.js – orchestrates page initialization, event handling
- network-visual.js – handles interactive network graph or data visualization
- README.md / .gitignore – documentation and repository configuration
- No directories for API, server, or database—they don’t exist here.
- Deployment is handled simply by pushing to the gh-pages branch (implicit from GitHub Pages).

##### README for additional insights
- Tech stack: HTML5, CSS3, JavaScript.
- AI tools referenced (ChatGPT, TRAE AI, Sonnet3.7) are used at development time, not runtime.
- Responsive and interactive focus suggests CSS/media-queries + JS event listeners.

## Diagram (Mermaid)

```mermaid
flowchart TD
    subgraph "Developer / Deployment"
        Dev("Developer"):::developer
        AItools["Development AI Tools\n(ChatGPT, TRAE AI, Sonnet3.7)"]:::ai
        Dev -->|"push to repo"| GHRepo["GitHub Repository"]:::hosting
        GHRepo -->|"deploy to gh-pages"| GitHubPages["GitHub Pages (Static CDN)"]:::hosting
        README["README.md"]:::docs
        GITIGNORE[".gitignore"]:::docs
        click README "https://github.com/nanakjoth/portfolio_web/blob/main/README.md"
        click GITIGNORE "https://github.com/nanakjoth/portfolio_web/blob/main/.gitignore"
    end

    subgraph "Browser / Runtime"
        User("User Browser"):::client
        User -->|GET /index.html| GitHubPages
        GitHubPages -->|serve index.html| Index["index.html"]:::html
        GitHubPages -->|serve background.js| BG["background.js"]:::background
        GitHubPages -->|serve network-visual.js| NV["network-visual.js"]:::visual
        GitHubPages -->|serve main.js| Main["main.js"]:::controller

        Index -->|"loads"| BG
        Index -->|"loads"| NV
        Index -->|"loads"| Main
        Main -->|"onClick/onResize"| BG
        Main -->|"onClick/onResize"| NV

        click Index "https://github.com/nanakjoth/portfolio_web/blob/main/index.html"
        click BG "https://github.com/nanakjoth/portfolio_web/blob/main/background.js"
        click NV "https://github.com/nanakjoth/portfolio_web/blob/main/network-visual.js"
        click Main "https://github.com/nanakjoth/portfolio_web/blob/main/main.js"
    end

    classDef developer fill:#f9f,stroke:#333,stroke-width:1px;
    classDef ai fill:#def,stroke:#333,stroke-width:1px;
    classDef hosting fill:#ccf,stroke:#333,stroke-width:1px;
    classDef client fill:#cfc,stroke:#333,stroke-width:1px;
    classDef html fill:#fc9,stroke:#333,stroke-width:1px;
    classDef background fill:#9cf,stroke:#333,stroke-width:1px;
    classDef visual fill:#9f9,stroke:#333,stroke-width:1px;
    classDef controller fill:#ff9,stroke:#333,stroke-width:1px;
    classDef docs fill:#eee,stroke:#333,stroke-width:1px;
```
