# tannykhiz/porfolio-projects architecture

> Architecture diagram of the GitHub repository tannykhiz/porfolio-projects, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2024-12-31). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tannykhiz/porfolio-projects
- Repository: https://github.com/tannykhiz/porfolio-projects

## Overview

##### Main Components

a. Frontend Layer:
- HTML (src/index.html)
- CSS (src/style.css)
- JavaScript (src/script.js)
- Static Assets (src/images, src/cv)

b. Project Sections:
- SQL Projects Repository
- COVID-19 Data Exploration
- Nashville Housing Data Cleaning

c. Deployment Layer:
- Web Hosting Platform

**┌─────────────────────────────────────────────┐**
- Client Layer                │
- (Browser rendering HTML/CSS/JavaScript)   │
- ┘
- ↕
**┌─────────────────────────────────────────────┐**
- Static File Serving            │
- (HTML, CSS, JS, Images, CV)         │
- ┘
- ↕
**┌─────────────────────────────────────────────┐**
- Project Repositories             │
- (SQL Projects and Analysis Results)      │
- ┘

##### Specific Implementation Details

a. Frontend Section:
- Connection to the images and CV directory

b. Projects Section:
- Relationship between project documentation and code files

##### Key Relationships to Highlight
- How the frontend components interact
- How projects are integrated into the portfolio
- How static assets are served
- The deployment pipeline

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph Client
        Browser["Web Browser"]
    end

    subgraph Frontend
        HTML["index.html"]:::frontend
        CSS["style.css"]:::frontend
        JS["script.js"]:::frontend
        
        subgraph StaticAssets
            Images["Images Directory"]:::static
            CV["CV Assets"]:::static
        end
    end

    subgraph Projects
        subgraph CovidProject
            CovidSQL["COVID-19 Data\nExploration SQL"]:::sql
            CovidDocs["COVID-19\nDocumentation"]:::docs
        end
        
        subgraph CleaningProject
            CleaningSQL["Nashville Housing\nData Cleaning SQL"]:::sql
            CleaningDocs["Data Cleaning\nDocumentation"]:::docs
        end
    end

    subgraph Deployment
        Host["Web Hosting\nPlatform"]:::hosting
    end

    %% Relationships
    Browser --> HTML
    HTML --> CSS
    HTML --> JS
    HTML --> Images
    HTML --> CV
    
    CovidSQL --> CovidDocs
    CleaningSQL --> CleaningDocs
    
    Frontend --> Host
    Projects --> Host

    %% Click Events
    click HTML "https://github.com/Tannykhiz/Porfolio-Projects/blob/main/src/index.html"
    click CSS "https://github.com/Tannykhiz/Porfolio-Projects/blob/main/src/style.css"
    click JS "https://github.com/Tannykhiz/Porfolio-Projects/blob/main/src/script.js"
    click CV "https://github.com/Tannykhiz/Porfolio-Projects/blob/main/src/cv/cvc.pdf"
    click Images "https://github.com/Tannykhiz/Porfolio-Projects/tree/main/src/images"
    click CovidSQL "https://github.com/Tannykhiz/Porfolio-Projects/blob/main/SQL_Covid-19_Data_Exploration/DataExp_Project1.sql"
    click CovidDocs "https://github.com/Tannykhiz/Porfolio-Projects/blob/main/SQL_Covid-19_Data_Exploration/README.md"
    click CleaningSQL "https://github.com/Tannykhiz/Porfolio-Projects/blob/main/Data Cleaning SQL/Data Cleaning.sql"
    click CleaningDocs "https://github.com/Tannykhiz/Porfolio-Projects/blob/main/Data Cleaning SQL/README.md"

    %% Styles
    classDef frontend fill:#a8d1f0,stroke:#333
    classDef static fill:#90EE90,stroke:#333
    classDef sql fill:#FFB347,stroke:#333
    classDef docs fill:#FFE4B5,stroke:#333
    classDef hosting fill:#DDA0DD,stroke:#333

    %% Legend
    subgraph Legend
        Frontend["Frontend Component"]:::frontend
        Static["Static Asset"]:::static
        SQL["SQL Project"]:::sql
        Documentation["Documentation"]:::docs
        Hosting["Hosting"]:::hosting
    end
```
