# astrssuy/modern-web-resume architecture

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

- Interactive diagram: https://gitdiagram.com/astrssuy/modern-web-resume
- Repository: https://github.com/astrssuy/modern-web-resume

## Overview

##### Project type and purpose
- This is a single-page, frontend-only portfolio/CV web application built with React, TypeScript, Tailwind CSS and Framer Motion, bundled by Vite.
- It has no backend service or database; it’s intended to be deployed as static assets (HTML, CSS, JS) to a CDN or static-file host.

##### File structure
- Top level:
- package.json (root scripts)
- README.md, LICENSE, .gitignore
- frontend/ (all source, config, build tool files)
- frontend/:
- public/ — static assets (images, favicon, PDF folders)
- src/ — React application code
– components/ — individual UI sections (Header, Hero, About, Skills, etc.)
– context/ — React Context providers (CVDataContext, ThemeContext)
– main.tsx, App.tsx — application entry point and root component
– index.css, style.css, tailwind config, postcss
- vite.config.ts, tsconfig.json, tailwind.config.js

##### README for additional insights
- Confirms tech stack (React 18, TypeScript, Tailwind, Framer Motion, Vite).
- Describes responsive, SEO-friendly, accessible design with animations.
- No backend, no API calls—purely static rendering and client-side navigation.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Developer and Source Control
    Developer["Developer Workstation\n(IDE, Git)"]:::dev
    Repo["Code Repository\n(GitHub)"]:::dev

    %% Build and Config
    CI["CI/CD Pipeline"]:::build
    BuildTool["Build Tool\n(Vite + npm scripts)"]:::build
    StaticGen["Static Asset Generator\n(Tailwind CSS, PostCSS)"]:::build
    TSConfig["TypeScript Compiler Config\n(tsconfig.json,\ntsconfig.node.json,\nvite-env.d.ts)"]:::build

    %% Hosting
    CDN["Static File Host/CDN\n(Netlify, Vercel,\nS3 + CloudFront)"]:::host

    %% Client Runtime
    Browser["End-User Browser\n(Runs React SPA)"]:::client

    %% Browser Internal Structure
    subgraph "Browser Runtime" 
        direction TB
        Entry["main.tsx"]:::client
        App["App.tsx"]:::client
        Styles["index.css\nstyle.css"]:::client
        subgraph "Context Providers"
            CVData["CVDataContext"]:::client
            ThemeData["ThemeContext"]:::client
        end
        subgraph "UI Components"
            Header["Header"]:::client
            Hero["Hero"]:::client
            About["About"]:::client
            Skills["Skills"]:::client
            Experience["Experience"]:::client
            Projects["Projects"]:::client
            Contact["Contact"]:::client
            Footer["Footer"]:::client
            Cursor["CursorLight"]:::client
            ThemeCust["ThemeCustomizer"]:::client
            PdfCV["PdfCV"]:::client
        end
        Entry -->|initializes| App
        App -->|"imports"| Styles
        App -->|"wraps with"| CVData
        App -->|"wraps with"| ThemeData
        CVData -->|"provides data to"| UIComponents
        ThemeData -->|"provides theme to"| UIComponents
        App -->|"renders"| Header & Hero & About & Skills & Experience & Projects & Contact & Footer & Cursor & ThemeCust & PdfCV
    end

    %% Flows
    Developer -->|git push| Repo
    Repo -->|trigger CI/CD| CI
    CI -->|npm run build| BuildTool
    TSConfig -->|used by| BuildTool
    StaticGen -->|used by| BuildTool
    BuildTool -->|outputs static assets| CDN
    CDN -->|"HTTP GET"| Browser

    %% Click Events
    click BuildTool "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/vite.config.ts"
    click BuildTool "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/package.json"
    click StaticGen "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/tailwind.config.js"
    click StaticGen "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/postcss.config.js"
    click TSConfig "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/tsconfig.json"
    click TSConfig "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/tsconfig.node.json"
    click TSConfig "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/vite-env.d.ts"
    click Entry "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/main.tsx"
    click App "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/App.tsx"
    click Styles "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/index.css"
    click Styles "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/style.css"
    click CVData "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/context/CVDataContext.tsx"
    click ThemeData "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/context/ThemeContext.tsx"
    click Header "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/components/Header.tsx"
    click Hero "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/components/Hero.tsx"
    click About "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/components/About.tsx"
    click Skills "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/components/Skills.tsx"
    click Experience "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/components/Experience.tsx"
    click Projects "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/components/Projects.tsx"
    click Contact "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/components/Contact.tsx"
    click Footer "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/components/Footer.tsx"
    click Cursor "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/components/CursorLight.tsx"
    click ThemeCust "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/components/ThemeCustomizer.tsx"
    click PdfCV "https://github.com/astrssuy/modern-web-resume/blob/main/frontend/src/components/PdfCV.tsx"

    classDef dev fill:#D0E8FF,stroke:#0066CC,color:#000
    classDef build fill:#DFF7DF,stroke:#28A745,color:#000
    classDef host fill:#FFE5B4,stroke:#FF8C00,color:#000
    classDef client fill:#E7D6FF,stroke:#800080,color:#000
```
