# ningsang-jabegu/personal-portfolio-react-file-current-version architecture

> Architecture diagram of the GitHub repository ningsang-jabegu/personal-portfolio-react-file-current-version, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ningsang-jabegu/personal-portfolio-react-file-current-version
- Repository: https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version

## Overview

##### Project Type and Purpose
- This is a static, front-end single-page application (SPA) built with React, bundled by Vite, and deployed on Vercel.
- Purpose: Personal portfolio website showcasing skills, experience, projects, and blog content.

##### File Structure Analysis
- Top-level:
- public/ – Static assets served directly (manifest.json, robots.txt).
- src/ – React source code.
- src/assets/ – CSS, JS snippets, images used by components.
- src/components/ – UI building blocks and pages organized into sub-folders (pages, blogs, data, automate_process, etc.).
- main-react.jsx – SPA entry point mounting App.jsx.
- vite.config.js – Build configuration.
- vercel.json – Deployment settings.
- Patterns:
- Component-based structure: pages & sub-pages under src/components/pages.
- Data-driven: src/components/pages/data holds centralized content objects.
- React Router implied through App.jsx (routing between pages).

##### README Insights
- Confirms this is a personal portfolio and blog site.
- No backend or database—static content managed via JSON/JS data modules.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Developer Environment
    subgraph "Developer Environment" 
        PKG_JSON["package.json"]:::dev
        PKG_LOCK["package-lock.json"]:::dev
        GITIGNORE[".gitignore"]:::dev
        VITE_CFG_DEV["vite.config.js"]:::dev
    end

    %% Build Process
    subgraph "Vite Build Process"
        INDEX["index.html"]:::build
        MAIN["src/main-react.jsx"]:::build
        VITE["Vite Bundler"]:::build
    end

    %% Deployment
    subgraph "Vercel CI/CD & CDN"
        VERCEL["Vercel"]:::deploy
        CDN["CDN (Static Hosting)"]:::deploy
    end

    %% Runtime
    USER["User Browser"]:::runtime

    subgraph "React SPA Runtime"
        APP["src/App.jsx"]:::runtime
        NAV["Navbar.jsx"]:::component
        SIDEBAR["Sidebar.jsx"]:::component
        COMB["CombineSection.jsx"]:::component

        subgraph "Pages (React Router)"
            HOME["Home.jsx"]:::page
            ABOUT["About.jsx"]:::page
            PORTF["Portfolio.jsx"]:::page
            BLOGPG["Blog.jsx"]:::page
            CONTACT["Contact.jsx"]:::page
            RESUME["Resume.jsx"]:::page
            PRV["Privacy_Notice.jsx"]:::page
            LEG["Legal_Notice.jsx"]:::page
            SITEMAP["SiteMap.jsx"]:::page
            TNC["TnC.jsx"]:::page
            NOTF["NotFound.jsx"]:::page
        end

        subgraph "Assets"
            CSS["css/style.css"]:::asset
            JSAS["js/main.js"]:::asset
            IMG["images/..."]:::asset
            MAN["manifest.json"]:::asset
            ROB["robots.txt"]:::asset
        end
    end

    %% Flows
    PKG_JSON --> VITE
    PKG_LOCK --> VITE
    GITIGNORE --> VITE
    VITE_CFG_DEV --> VITE

    VITE --> INDEX
    VITE --> MAIN

    INDEX --> VERCEL
    MAIN --> VERCEL
    VERCEL --> CDN
    CDN --> USER
    USER --> APP
    APP --> NAV
    APP --> SIDEBAR
    APP --> COMB
    APP --> HOME
    APP --> ABOUT
    APP --> PORTF
    APP --> BLOGPG
    APP --> CONTACT
    APP --> RESUME
    APP --> PRV
    APP --> LEG
    APP --> SITEMAP
    APP --> TNC
    APP --> NOTF

    USER --> CSS
    USER --> JSAS
    USER --> IMG
    USER --> MAN
    USER --> ROB

    %% Click Events
    click PKG_JSON "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/package.json"
    click PKG_LOCK "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/package-lock.json"
    click GITIGNORE "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/.gitignore"
    click VITE_CFG_DEV "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/vite.config.js"
    click INDEX "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/index.html"
    click MAIN "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/main-react.jsx"
    click APP "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/App.jsx"
    click NAV "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/components/Navbar.jsx"
    click SIDEBAR "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/components/Sidebar.jsx"
    click COMB "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/components/CombineSection.jsx"
    click HOME "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/components/pages/Home.jsx"
    click ABOUT "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/components/pages/About.jsx"
    click PORTF "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/components/pages/Portfolio.jsx"
    click BLOGPG "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/components/pages/Blog.jsx"
    click CONTACT "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/components/pages/Contact.jsx"
    click RESUME "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/components/pages/Resume.jsx"
    click PRV "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/components/pages/Privacy_Notice.jsx"
    click LEG "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/components/pages/Legal_Notice.jsx"
    click SITEMAP "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/components/pages/SiteMap.jsx"
    click TNC "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/components/pages/TnC.jsx"
    click NOTF "https://github.com/ningsang-jabegu/personal-portfolio-react-file-current-version/blob/main/src/components/pages/NotFound.jsx"

    %% Styles
    classDef dev fill:#D6EAF8,stroke:#21618C,stroke-width:1px
    classDef build fill:#FAD7A0,stroke:#B9770E,stroke-width:1px
    classDef deploy fill:#D5F5E3,stroke:#1D8348,stroke-width:1px
    classDef runtime fill:#FCF3CF,stroke:#B7950B,stroke-width:1px
    classDef component fill:#F5B7B1,stroke:#C0392B,stroke-width:1px
    classDef page fill:#D2B4DE,stroke:#6C3483,stroke-width:1px
    classDef asset fill:#A2D9CE,stroke:#117A65,stroke-width:1px
```
