# seanyee52/sunmun_web architecture

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

- Interactive diagram: https://gitdiagram.com/seanyee52/sunmun_web
- Repository: https://github.com/seanyee52/sunmun_web

## Overview

##### Project type and purpose
- This is a static, frontend-only website project. All content lives under the `docs/` directory: HTML pages, CSS, JS (Bootstrap library), images, and a CNAME for a custom domain. There is no backend application or database—just a static site intended to be served (for example via GitHub Pages or another static-site host).
- The README’s only content describes Git branching policies for managing deployments (main, staging, production), confirming this is primarily a content/marketing site where “production” is the live branch and “staging” is the test branch.

##### File structure
- Top-level:
- LICENSE
- README.md (branch/branch policy)
- docs/ (all deliverables for the site)
- Inside `docs/`:
- CNAME (custom domain config)
- Images/ (site logos, etc.)
- bootstrap-5.3.4-dist/ (self-hosted Bootstrap CSS & JS)
- councils/, committee*.html, index.html, registration.html, under_construction.html
- style/style.css (project’s custom styles)
- No server-side code, no build scripts, no API directories—purely static content.

##### README for additional insights
- It defines a three-branch workflow:
- main – backup, do NOT push
- staging – daily development, can commit small fixes, or branch off & PR
- production – the live site, do NOT push directly
- No mention of CI/CD tools or dynamic services.

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Developer
    Dev["Developer Workstation"]:::code

    %% Git Remote Repository with branches and static content
    subgraph "Git Remote Repository" 
        direction TB
        main["main branch"]:::code
        staging["staging branch"]:::code
        production["production branch"]:::code

        subgraph "Static Site Content (docs/)"
            direction TB
            docs_root["docs/"]:::code
            CNAME["CNAME"]:::code
            Images["Images/"]:::code
            Bootstrap["bootstrap-5.3.4-dist/"]:::code
            Style["style/style.css"]:::code
            Index["index.html"]:::code
            Registration["registration.html"]:::code
            UnderConstruction["under_construction.html"]:::code
            Committee["committee.html"]:::code
            CommitteeWIP["committee(WIP).html"]:::code
            CouncilTemplate["council_template.html"]:::code
            Councils["councils/"]:::code
        end
    end

    %% CI/CD (optional)
    CICD["CI/CD Pipeline (optional)"]:::code

    %% Static Site Host
    Host["Static Site Host (e.g., GitHub Pages)"]:::hosting

    %% CDN/DNS
    CDN["CDN / DNS (CNAME)"]:::cdn

    %% End User
    Browser["End-User's Browser"]:::client

    %% Connections
    Dev -->|"push/PR"| staging
    staging -->|"merge"| production
    production -->|"trigger deploy"| CICD
    CICD -->|"deploy docs/ content"| Host
    Host -->|"serve via custom domain"| CDN
    CDN -->|"HTTP requests assets"| Browser

    %% Click Events for docs content
    click docs_root "https://github.com/seanyee52/sunmun_web/tree/main/docs/"
    click CNAME "https://github.com/seanyee52/sunmun_web/tree/main/docs/CNAME"
    click Images "https://github.com/seanyee52/sunmun_web/tree/main/docs/Images/"
    click Bootstrap "https://github.com/seanyee52/sunmun_web/tree/main/docs/bootstrap-5.3.4-dist/"
    click Style "https://github.com/seanyee52/sunmun_web/blob/main/docs/style/style.css"
    click Index "https://github.com/seanyee52/sunmun_web/blob/main/docs/index.html"
    click Registration "https://github.com/seanyee52/sunmun_web/blob/main/docs/registration.html"
    click UnderConstruction "https://github.com/seanyee52/sunmun_web/blob/main/docs/under_construction.html"
    click Committee "https://github.com/seanyee52/sunmun_web/blob/main/docs/committee.html"
    click CommitteeWIP "https://github.com/seanyee52/sunmun_web/blob/main/docs/committee(WIP).html"
    click CouncilTemplate "https://github.com/seanyee52/sunmun_web/blob/main/docs/council_template.html"
    click Councils "https://github.com/seanyee52/sunmun_web/tree/main/docs/councils/"

    %% Styles
    classDef code fill:#cce5ff,stroke:#004085,color:#004085;
    classDef hosting fill:#d4edda,stroke:#155724,color:#155724;
    classDef cdn fill:#d1ecf1,stroke:#0c5460,color:#0c5460;
    classDef client fill:#fff3cd,stroke:#856404,color:#856404;
```
