# zzyn/poc architecture

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

- Interactive diagram: https://gitdiagram.com/zzyn/poc
- Repository: https://github.com/zzyn/poc

## Overview

##### Scope and the purpose
- That these are independent examples rather than tightly integrated services, so the design is more about categorizing and showing separation of concerns across tech stacks.

##### Break down the repository into its core components
– C (with subcomponents if necessary)
– dotnet (which contains further subdivided projects such as BookBot, ConsoleDemos, WinFormDemos)
– es-ts (TypeScript projects – notice GraphQL demos, custom apollo datasource, etc.)
– go, java-11, java-8, java-spring-boot, java-vert.x, kotlin, python, rust, scala (with subfolders like scala-akka, scala-axon, etc.) and shell

##### Designer’s approach
- Still use a clear hierarchical layout that starts at the repository level and drills down into module and then into internal structure.

## Diagram (Mermaid)

```mermaid
flowchart TD
    Repo["POC: Proof Of Concept Repository"]:::container

    %% C Module
    subgraph "C Module"
        CPOC["C – POC Example"]:::module
        subgraph "C Internal"
            Csrc["src"]:::internal
            Cconfig["config"]:::internal
            Ctests["tests"]:::internal
        end
        CPOC --> Csrc
        CPOC --> Cconfig
        CPOC --> Ctests
    end

    %% dotnet Module
    subgraph "dotnet Module"
        Dotnet["dotnet – BookBot, ConsoleDemos, WinFormDemos"]:::module
        subgraph "dotnet Internal"
            DotnetSrc["src"]:::internal
            DotnetConfig["config"]:::internal
            DotnetTests["tests"]:::internal
        end
        Dotnet --> DotnetSrc
        Dotnet --> DotnetConfig
        Dotnet --> DotnetTests
    end

    %% es-ts Module
    subgraph "es-ts Module"
        ESTS["es-ts – GraphQL and TypeScript demos"]:::module
        subgraph "es-ts Internal"
            ESTSSrc["src"]:::internal
            ESTSConfig["config"]:::internal
            ESTSTests["tests"]:::internal
        end
        ESTS --> ESTSSrc
        ESTS --> ESTSConfig
        ESTS --> ESTSTests
    end

    %% go Module
    subgraph "go Module"
        Go["go – Go demonstration project"]:::module
        subgraph "go Internal"
            Gosrc["src"]:::internal
            Goconfig["config"]:::internal
            Gotests["tests"]:::internal
        end
        Go --> Gosrc
        Go --> Goconfig
        Go --> Gotests
    end

    %% java-11 Module
    subgraph "java-11 Module"
        Java11["java-11 – Java 11 examples (Guice Console and Orders Simulation)"]:::module
        subgraph "java-11 Internal"
            Java11Src["src"]:::internal
            Java11Config["config"]:::internal
            Java11Tests["tests"]:::internal
        end
        Java11 --> Java11Src
        Java11 --> Java11Config
        Java11 --> Java11Tests
    end

    %% java-8 Module
    subgraph "java-8 Module"
        Java8["java-8 – Java 8 locks demo"]:::module
        subgraph "java-8 Internal"
            Java8Src["src"]:::internal
            Java8Config["config"]:::internal
            Java8Tests["tests"]:::internal
        end
        Java8 --> Java8Src
        Java8 --> Java8Config
        Java8 --> Java8Tests
    end

    %% java-spring-boot Module
    subgraph "java-spring-boot Module"
        JavaSpring["java-spring-boot – Spring Boot demos (api-client-feign, apidocs‐openapi3, etc.)"]:::module
        subgraph "java-spring-boot Internal"
            JavaSpringSrc["src"]:::internal
            JavaSpringConfig["config/ci"]:::internal
            JavaSpringTests["tests"]:::internal
        end
        JavaSpring --> JavaSpringSrc
        JavaSpring --> JavaSpringConfig
        JavaSpring --> JavaSpringTests
    end

    %% java-vert.x Module
    subgraph "java-vert.x Module"
        JavaVertx["java-vert.x – Vert.x Java demos"]:::module
        subgraph "java-vert.x Internal"
            JavaVertxSrc["src"]:::internal
            JavaVertxConfig["config/ci"]:::internal
            JavaVertxTests["tests"]:::internal
        end
        JavaVertx --> JavaVertxSrc
        JavaVertx --> JavaVertxConfig
        JavaVertx --> JavaVertxTests
    end

    %% kotlin Module
    subgraph "kotlin Module"
        Kotlin["kotlin – Kotlin demonstration project"]:::module
        subgraph "kotlin Internal"
            KotlinSrc["src"]:::internal
            KotlinConfig["config"]:::internal
            KotlinTests["tests"]:::internal
        end
        Kotlin --> KotlinSrc
        Kotlin --> KotlinConfig
        Kotlin --> KotlinTests
    end

    %% python Module
    subgraph "python Module"
        Python["python – Python demo project"]:::module
        subgraph "python Internal"
            PythonSrc["src"]:::internal
            PythonConfig["config"]:::internal
            PythonTests["tests"]:::internal
        end
        Python --> PythonSrc
        Python --> PythonConfig
        Python --> PythonTests
    end

    %% rust Module
    subgraph "rust Module"
        Rust["rust – Rust Proof Of Concept"]:::module
        subgraph "rust Internal"
            RustSrc["src"]:::internal
            RustConfig["config"]:::internal
            RustTests["tests"]:::internal
        end
        Rust --> RustSrc
        Rust --> RustConfig
        Rust --> RustTests
    end

    %% scala Module
    subgraph "scala Module"
        Scala["scala – Scala based demos"]:::module
        subgraph "scala Submodules"
            ScalaAkka["scala-akka"]:::submodule
            ScalaAxon["scala-axon"]:::submodule
            ScalaMain["scala (incl. mvn-scala & sbt-scala)"]:::submodule
        end
        Scala --> ScalaAkka
        Scala --> ScalaAxon
        Scala --> ScalaMain
    end

    %% shell Module
    subgraph "shell Module"
        Shell["shell – Shell scripts demos"]:::module
        subgraph "shell Internal"
            ShellSrc["src"]:::internal
            ShellConfig["config"]:::internal
            ShellTests["tests"]:::internal
        end
        Shell --> ShellSrc
        Shell --> ShellConfig
        Shell --> ShellTests
    end

    %% Cross-cutting CI/CD Configurations
    CICD["CI/CD Configurations_(common scripts)"]:::cicd

    %% CI/CD feeds into modules
    CICD --> Cconfig
    CICD --> DotnetConfig
    CICD --> ESTSConfig
    CICD --> Goconfig
    CICD --> Java11Config
    CICD --> Java8Config
    CICD --> JavaSpringConfig
    CICD --> JavaVertxConfig
    CICD --> KotlinConfig
    CICD --> PythonConfig
    CICD --> RustConfig
    CICD --> ShellConfig

    %% Repository connections to modules
    Repo --> CPOC
    Repo --> Dotnet
    Repo --> ESTS
    Repo --> Go
    Repo --> Java11
    Repo --> Java8
    Repo --> JavaSpring
    Repo --> JavaVertx
    Repo --> Kotlin
    Repo --> Python
    Repo --> Rust
    Repo --> Scala
    Repo --> Shell

    %% Click Events
    click CPOC "https://github.com/zzyn/poc/tree/master/c/"
    click Dotnet "https://github.com/zzyn/poc/tree/master/dotnet/"
    click ESTS "https://github.com/zzyn/poc/tree/master/es-ts/"
    click Go "https://github.com/zzyn/poc/tree/master/go/"
    click Java11 "https://github.com/zzyn/poc/tree/master/java-11/"
    click Java8 "https://github.com/zzyn/poc/tree/master/java-8/"
    click JavaSpring "https://github.com/zzyn/poc/tree/master/java-spring-boot/"
    click JavaVertx "https://github.com/zzyn/poc/tree/master/java-vert.x/"
    click Kotlin "https://github.com/zzyn/poc/tree/master/kotlin/"
    click Python "https://github.com/zzyn/poc/tree/master/python/"
    click Rust "https://github.com/zzyn/poc/tree/master/rust/"
    click ScalaAkka "https://github.com/zzyn/poc/tree/master/scala-akka/"
    click ScalaAxon "https://github.com/zzyn/poc/tree/master/scala-axon/"
    click ScalaMain "https://github.com/zzyn/poc/tree/master/scala/"
    click Shell "https://github.com/zzyn/poc/tree/master/shell/"

    %% Styles
    classDef container fill:#f9f,stroke:#333,stroke-width:2px;
    classDef module fill:#bbf,stroke:#333,stroke-width:2px;
    classDef internal fill:#cfc,stroke:#333,stroke-width:1px;
    classDef submodule fill:#fc9,stroke:#333,stroke-width:1px;
    classDef cicd fill:#faa,stroke:#333,stroke-width:2px;
```
