# air-zy/journal-app-programming-club architecture

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

- Interactive diagram: https://gitdiagram.com/air-zy/journal-app-programming-club
- Repository: https://github.com/air-zy/journal-app-programming-club

## Overview

##### Project type and purpose
- Purpose: Allow users to create and view journal entries in the browser (hosted on Glitch).

##### File structure
- Top-level files only:
- journal.html – the markup and entry point
- journal.css – styling (presentation layer)
- journal.js – application logic (behavior, interactions, data persistence)
- Project 2.docx – assignment spec (not part of runtime)
- There are no server or database folders; persistence likely uses browser storage (localStorage).

##### README for additional insights
- Confirms it’s a front-end demo deployed on Glitch.
- No mention of external APIs or microservices—pure client logic.

##### Elements
- Clear labels for each component (e.g., “journal.js – App Logic”)
- HTTP GET of assets from Glitch → Browser
- Event flows: User → journal.js → DOM/localStorage
- Data retrieval: journal.js → localStorage → UI
- Rectangles for code artifacts (HTML/CSS/JS)

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph "Browser"
        direction TB
        User["User"]:::external
        HTML["journal.html<br>Markup"]:::asset
        CSS["journal.css<br>Styling"]:::asset
        JS["journal.js<br>App Logic"]:::asset
        Storage["localStorage"]:::storage
    end

    Server["Glitch Static Server"]:::server

    Server -->|"HTTP GET journal.html"| HTML
    Server -->|"HTTP GET journal.css"| CSS
    Server -->|"HTTP GET journal.js"| JS

    HTML -->|"loads CSS"| CSS
    HTML -->|"loads JS"| JS

    User -->|"interacts"| JS
    JS -->|"reads/writes"| Storage
    JS -->|"updates DOM"| HTML

    click HTML "https://github.com/air-zy/journal-app-programming-club/blob/main//journal.html"
    click CSS "https://github.com/air-zy/journal-app-programming-club/blob/main//journal.css"
    click JS "https://github.com/air-zy/journal-app-programming-club/blob/main//journal.js"

    classDef asset fill:#FFD580,stroke:#333,stroke-width:1px
    classDef storage fill:#80B3FF,stroke:#333,stroke-width:1px
    classDef server fill:#A3FFA3,stroke:#333,stroke-width:1px
    classDef external fill:#E0E0E0,stroke:#333,stroke-width:1px
```
