# chandan785/my-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/chandan785/my-portfolio
- Repository: https://github.com/chandan785/my-portfolio

## Overview

##### Project type and purpose
- This is a static, single‐page “Portfolio” website whose main purpose is to present personal information and projects.
- The README calls out HTML, React and the Typed React library. It’s deployed (per the README) on Netlify.

##### File structure
Top‐level files
- package.json / package-lock.json – defines React + Typed React dependencies and npm build scripts
- readme.md – project description and deployment link
public/
- index.html – entry HTML that loads the React app
- port.css / gif.css – styling for the site
- port.js – likely your main React bundle or mount script that bootstraps components (including Typed React)
- skill.html, contact.html, download.html, gif.html – static pages or in‐app routes served by client router or direct links
- Resume.pdf – your downloadable resume

##### Key insights from the README
- Emphasizes “fully responsive,” “React,” and “Typed React.”
- Hosted on Netlify (implicit static‐site/CDN deployment).

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Developer Workflow
    Dev["Developer Workstation"]:::infra
    Git["Git Repository"]:::infra
    Build["Netlify Build Pipeline"]:::infra
    CDN["Netlify CDN"]:::infra

    Dev -->|git push| Git
    Git -->|trigger build| Build
    Build -->|deploy site| CDN

    %% User Client & CDN Delivery
    Browser["Browser / User Client"]:::client
    CDN -->|HTTP GET index.html| Browser
    CDN -->|HTTP GET port.js| Browser
    CDN -->|HTTP GET port.css, gif.css| Browser
    CDN -->|HTTP GET static pages & assets| Browser

    %% React Application & Components
    subgraph "Browser Environment"
        direction TB
        Index["index.html"]:::client
        PortJS["port.js (React Bundle)"]:::client
        ReactApp["React Application"]:::client
        TypedReact["Typed React Library"]:::client
        PortCSS["port.css"]:::client
        GIFCSS["gif.css"]:::client
        subgraph "Static Pages"
            direction TB
            Contact["contact.html"]:::asset
            Skills["skill.html"]:::asset
            Download["download.html"]:::asset
            GIFPage["gif.html"]:::asset
        end
        Resume["Resume.pdf"]:::asset

        Index -->|bootstraps| PortJS
        PortJS -->|renders| ReactApp
        ReactApp -->|uses| TypedReact
        ReactApp -->|loads styles| PortCSS
        ReactApp -->|loads styles| GIFCSS
        ReactApp -->|client-side routing| Contact
        ReactApp -->|client-side routing| Skills
        ReactApp -->|client-side routing| Download
        ReactApp -->|client-side routing| GIFPage
        ReactApp -->|download link| Resume
    end

    %% Click Events
    click Index "https://github.com/chandan785/my-portfolio/blob/main/public/index.html"
    click PortJS "https://github.com/chandan785/my-portfolio/blob/main/public/port.js"
    click PortCSS "https://github.com/chandan785/my-portfolio/blob/main/public/port.css"
    click GIFCSS "https://github.com/chandan785/my-portfolio/blob/main/public/gif.css"
    click Contact "https://github.com/chandan785/my-portfolio/blob/main/public/contact.html"
    click Skills "https://github.com/chandan785/my-portfolio/blob/main/public/skill.html"
    click Download "https://github.com/chandan785/my-portfolio/blob/main/public/download.html"
    click GIFPage "https://github.com/chandan785/my-portfolio/blob/main/public/gif.html"
    click Resume "https://github.com/chandan785/my-portfolio/blob/main/public/Resume.pdf"
    click pkg "https://github.com/chandan785/my-portfolio/blob/main/package.json"
    click lock "https://github.com/chandan785/my-portfolio/blob/main/package-lock.json"
    click readme "https://github.com/chandan785/my-portfolio/blob/main/readme.md"

    %% Config Files
    pkg["package.json"]:::config
    lock["package-lock.json"]:::config
    readme["readme.md"]:::config

    %% Styles
    classDef infra fill:#9ad1f5,stroke:#036699,color:#000
    classDef client fill:#a2f5a2,stroke:#036900,color:#000
    classDef asset fill:#f5d38a,stroke:#997100,color:#000
    classDef config fill:#d3a2f5,stroke:#69036a,color:#000
```
