# izuan87/portfolio architecture

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

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

## Overview

##### Project type and purpose
- This is a simple, static portfolio website (“portfolia website”), composed entirely of HTML, CSS, and image assets.
- There is no backend application logic or database—just a set of pages served as static assets.

##### File structure
- Top-level HTML pages: index.html, certification.html, contact.html, portfolio.html, property-agent.html.
- A global stylesheet: style.css.
- A directory of media assets: /images.
- No server-side code, build scripts or configuration files—this folder structure lives as static content on a web server or CDN.

##### README
- Confirms that the project is a portfolio website.
- No extra details on hosting or toolchain, implying this is hand-crafted static content.

a. Main components
- Client (browser)
- Static-file hosting (e.g., web server or CDN)
- Content storage (the HTML/CSS/images in your file tree)
- (Optional) DNS service / custom domain
- (Optional) Third-party services (analytics, contact form endpoint)
b. Relationships and interactions
- Browser issues HTTP GET requests for each page (e.g., GET /index.html).
- Web server (or CDN) responds with the appropriate static files.
- Browser parses HTML, CSS and fetches image assets from /images.
c. Architectural patterns or design principles
- Single-Tier “static” architecture (no application tier).
- Separation of concerns: content (HTML), presentation (CSS), assets (images).
- Optionally, use a CDN in front of the origin server to cache and distribute assets globally.
d. Relevant technologies and frameworks
- HTML5 for markup
- CSS3 for styling
- HTTP/HTTPS for transport
- Static hosting platforms (GitHub Pages, Netlify, S3+CloudFront, etc.)
- Optional: DNS provider, SSL certificate manager, analytics endpoint

##### Detail
- Distinguish static-asset retrieval (CSS, images) from page HTML retrieval.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Client Layer
    Browser["Client Browser"]:::client
    AnalyticsSvc["Analytics Service"]:::external
    ContactAPI["Contact Form API"]:::external

    %% Infrastructure Layer
    DNS["DNS Service"]:::infra
    CDN["CDN / Web Server"]:::infra

    %% Origin Storage
    subgraph "Origin Storage"
        direction TB
        HTMLPages["HTML Pages"]:::storage
        index["index.html"]:::storage
        certification["certification.html"]:::storage
        contactPage["contact.html"]:::storage
        portfolio["portfolio.html"]:::storage
        propertyAgent["property-agent.html"]:::storage
        Stylesheet["style.css"]:::storage
        ImagesDir["images/"]:::storage
    end

    %% Source Repository
    README["README.md"]:::docs

    %% Connections
    Browser -->|"Resolve domain"| DNS
    DNS -->|"Return IP"| CDN
    Browser -->|"GET /pages and assets"| CDN
    CDN -->|"Cache miss / fetch"| HTMLPages
    CDN -->|"Cache miss / fetch"| Stylesheet
    CDN -->|"Cache miss / fetch"| ImagesDir
    HTMLPages --> index
    HTMLPages --> certification
    HTMLPages --> contactPage
    HTMLPages --> portfolio
    HTMLPages --> propertyAgent
    Browser -->|"Parse HTML/CSS"| Stylesheet
    Browser -->|"Load Images"| ImagesDir
    contactPage -->|"Form submit POST"| ContactAPI
    Browser -->|"Send pageview"| AnalyticsSvc
    README --> HTMLPages

    %% Click Events
    click index "https://github.com/izuan87/portfolio/blob/master/index.html"
    click certification "https://github.com/izuan87/portfolio/blob/master/certification.html"
    click contactPage "https://github.com/izuan87/portfolio/blob/master/contact.html"
    click portfolio "https://github.com/izuan87/portfolio/blob/master/portfolio.html"
    click propertyAgent "https://github.com/izuan87/portfolio/blob/master/property-agent.html"
    click Stylesheet "https://github.com/izuan87/portfolio/blob/master/style.css"
    click ImagesDir "https://github.com/izuan87/portfolio/tree/master/images/"
    click README "https://github.com/izuan87/portfolio/blob/master/README.md"

    %% Styles
    classDef client fill:#D6E9FE,stroke:#4A90E2,stroke-width:2px
    classDef infra fill:#E8F5E9,stroke:#43A047,stroke-width:2px
    classDef storage fill:#FFF8E1,stroke:#FBC02D,stroke-width:2px
    classDef external fill:#F3E5F5,stroke:#8E24AA,stroke-width:2px
    classDef docs fill:#ECEFF1,stroke:#546E7A,stroke-width:2px
```
