# jukisyuri/java-struggling architecture

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

- Interactive diagram: https://gitdiagram.com/jukisyuri/java-struggling
- Repository: https://github.com/jukisyuri/java-struggling

## Overview

##### Main Components
- DataStructure Module: This contains a wide variety of lab tasks (Lab1_Array1D, Lab1_OOP, Lab2 tasks, Lab3 tasks, … Lab9, etc.) that mainly illustrate exercises and algorithms dealing with different data structures and sorting methods.
- JavaBasic Module: This directory holds fundamental programming assignments (Assigment1, Assigment2, EX19 to EX26, SimpleExcercise, FinalBoss, GK, Leetcode, YourselfLearning, etc.) showcasing basic algorithmic problems, UI experiments, and practice code.
- Project Module: This is a more organized sub-project that seems to include a small application for managing books, clients, and possibly a shopping cart.
- Test Module: Contains sample tests and utility classes for quick experiments (e.g., reading JSON, simple GUI tests).

##### Architectural Patterns and Design Principles
- Modularity. The project uses a folder-based modular separation where each lab or task is self-contained.
- Since this codebase is primarily for educational reference, clean separation between different programming topics is more important than runtime interactions.

##### Relevant Technologies and Frameworks
- Java is the primary language.
- The presence of folders like “.idea” and “.vscode” indicates the usage of IDEs such as IntelliJ IDEA and VS Code. Represent these as the development environments used.
- Common Java concepts (such as OOP, collections, and GUI elements in several labs) should be noted.

##### Essential Elements
- That some directories are strictly for practicing algorithm/logic (labs) whereas others (such as Project) are closer to mini-application architecture.

## Diagram (Mermaid)

```mermaid
flowchart TD
    Repo["Java Learning Archive (Repository)"]:::repo
    Repo --> DS["DataStructure Module"]:::module
    Repo --> JB["JavaBasic Module"]:::module
    Repo --> Proj["Project Module"]:::application
    Repo --> T["Test Module"]:::module

    %% DataStructure Branch
    DS --> HK["Hackerrank Exercises"]:::lab
    DS --> L10["Lab10 Tasks"]:::lab
    DS --> L1["Lab1 Exercises"]:::lab
    L1 --> A1["Lab1_Array1D"]:::lab
    L1 --> OOP["Lab1_OOP"]:::lab

    %% JavaBasic Branch
    JB --> BA["Basic Assignments"]:::basic
    BA --> A1B["Assigment1"]:::basic
    BA --> A2B["Assigment2"]:::basic
    BA --> EX["EX19"]:::basic
    JB --> FB["FinalBoss"]:::application
    JB --> Exer["Excercise"]:::basic
    JB --> YL["YourselfLearning"]:::basic

    %% Project Branch
    Proj --> BM["BookManager"]:::app
    BM --> Book["Book"]:::app
    BM --> Cart["Cart"]:::app

    %% Styles
    classDef repo fill:#fde2e2,stroke:#d9534f,stroke-width:2px;
    classDef module fill:#d9edf7,stroke:#31708f,stroke-width:2px;
    classDef lab fill:#dff0d8,stroke:#3c763d,stroke-width:2px;
    classDef basic fill:#fcf8e3,stroke:#8a6d3b,stroke-width:2px;
    classDef application fill:#f2dede,stroke:#a94442,stroke-width:2px;
    classDef app fill:#e2f0d9,stroke:#3c763d,stroke-width:2px;

    %% Click Events for DataStructure Module
    click DS "https://github.com/jukisyuri/java-struggling/tree/main/src/DataStructure"
    click HK "https://github.com/jukisyuri/java-struggling/tree/main/src/DataStructure/Hackerrank"
    click L10 "https://github.com/jukisyuri/java-struggling/tree/main/src/DataStructure/Lab10"
    click A1 "https://github.com/jukisyuri/java-struggling/tree/main/src/DataStructure/Lab1_Array1D"
    click OOP "https://github.com/jukisyuri/java-struggling/tree/main/src/DataStructure/Lab1_OOP"

    %% Click Events for JavaBasic Module
    click JB "https://github.com/jukisyuri/java-struggling/tree/main/src/JavaBasic"
    click A1B "https://github.com/jukisyuri/java-struggling/tree/main/src/JavaBasic/Assigment1"
    click A2B "https://github.com/jukisyuri/java-struggling/tree/main/src/JavaBasic/Assigment2"
    click EX "https://github.com/jukisyuri/java-struggling/tree/main/src/JavaBasic/EX19"
    click FB "https://github.com/jukisyuri/java-struggling/tree/main/src/JavaBasic/FinalBoss"
    click Exer "https://github.com/jukisyuri/java-struggling/tree/main/src/JavaBasic/Excercise"
    click YL "https://github.com/jukisyuri/java-struggling/tree/main/src/JavaBasic/YourselfLearning"

    %% Click Events for Project and Test Modules
    click Proj "https://github.com/jukisyuri/java-struggling/tree/main/src/Project"
    click T "https://github.com/jukisyuri/java-struggling/tree/main/src/Test"
```
