# baibhab-adhikari/developer-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/baibhab-adhikari/developer-portfolio
- Repository: https://github.com/baibhab-adhikari/developer-portfolio

## Overview

##### Project type and purpose
- This is a simple, static portfolio website.
- The README (“My portfolio Website”) and the presence of only HTML, CSS, JS, and static assets indicate there is no backend or database—everything is delivered as static files.

##### File structure
- Top-level files:
- index.html – entry point and page markup
- style.css – styling for the HTML
- script.js – client-side behavior and interactivity
- assets/ – static assets (Baibhab_Adhikari_Resume.pdf)
- .gitignore – source control exclusions
- README.md – project description
- No server-side code or build scripts are present, confirming it’s a pure front-end project.

##### README for additional insights
- The README is minimal but confirms the site’s role as a personal portfolio.
- No special build, deployment, or external service integrations are documented.

- Client (Web Browser)
- Web Server / Static Hosting (e.g., GitHub Pages, Netlify, S3+CloudFront)
- Static Files:
– index.html
– style.css
– script.js
– assets/Baibhab_Adhikari_Resume.pdf
b. Relationships and interactions:
- Browser sends HTTP(S) GET requests to the Hosting service
- Hosting service returns static files
- Browser renders HTML, applies CSS, executes JS, enables user interaction (e.g., download resume)
c. Architectural patterns / principles:
- “Jamstack”-style: pre-built static pages + client-side JS
- Separation of concerns:
– Markup (HTML),
– Styling (CSS),
– Behavior (JS),
– Assets (PDF, images)
d. Key technologies:
- HTML5
- CSS3
- Vanilla JavaScript
- Static hosting platform or CDN

##### Elements
- Clear labels for each component (e.g., “Browser,” “Static File Host,” “index.html,” etc.)
- Browser → Host (requests)
- Host → Browser (responses with .html, .css, .js, assets)
- Rectangles for services (Hosting)

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph "Local Workflow"
        Dev["Local Development"]:::dev
        Git["Git Repository"]:::repo
        CI["CI/CD Pipeline"]:::ci
        Dev -->|push code| Git
        Git -->|trigger deploy| CI
        CI -->|deploy| HostService
    end

    subgraph "Production Environment"
        HostService["Static Hosting (Netlify/GitHub Pages)"]:::hosting
        subgraph "Static Files"
            HTML["index.html"]:::file
            CSS["style.css"]:::file
            JS["script.js"]:::file
            PDF["assets/Baibhab_Adhikari_Resume.pdf"]:::file
            README["README.md"]:::file
            GITIGNORE[".gitignore"]:::file
        end
    end

    Browser["Web Browser"]:::client

    Browser -->|HTTP GET /| HostService
    HostService -->|200 OK with index.html| Browser
    Browser -->|loads CSS| HostService
    Browser -->|loads JS| HostService
    Browser -->|downloads resume| HostService

    click HTML "https://github.com/baibhab-adhikari/developer-portfolio/blob/main/index.html"
    click CSS "https://github.com/baibhab-adhikari/developer-portfolio/blob/main/style.css"
    click JS "https://github.com/baibhab-adhikari/developer-portfolio/blob/main/script.js"
    click PDF "https://github.com/baibhab-adhikari/developer-portfolio/blob/main/assets/Baibhab_Adhikari_Resume.pdf"
    click README "https://github.com/baibhab-adhikari/developer-portfolio/blob/main/README.md"
    click GITIGNORE "https://github.com/baibhab-adhikari/developer-portfolio/blob/main/.gitignore"

    classDef dev fill:#ffebcd,stroke:#333,stroke-width:1px
    classDef repo fill:#ffe4b5,stroke:#333,stroke-width:1px
    classDef ci fill:#f0e68c,stroke:#333,stroke-width:1px
    classDef hosting fill:#bbdefb,stroke:#333,stroke-width:1px
    classDef file fill:#c8e6c9,stroke:#333,stroke-width:1px
    classDef client fill:#f8bbd0,stroke:#333,stroke-width:1px
```
