# earthly-j/boardweb architecture

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

- Interactive diagram: https://gitdiagram.com/earthly-j/boardweb
- Repository: https://github.com/earthly-j/boardweb

## Overview

This repository is a minimal Java web application with a login servlet, but the README and sampled code show no login or board-processing logic: the servlet only logs lifecycle and request-method messages. A separate standalone class opens an H2 TCP connection and prepares an insert statement. The graph captures those evidenced interactions; the available excerpts do not establish how the login page, deployment configuration, or database relate to one another.

Main entry points: [`src/main/java/com/ssamz/biz/InsertUserTest.java`](https://github.com/earthly-j/boardweb/blob/main/src/main/java/com/ssamz/biz/InsertUserTest.java) (Insert test), [`src/main/java/com/ssamz/web/user/LoginServlet.java`](https://github.com/earthly-j/boardweb/blob/main/src/main/java/com/ssamz/web/user/LoginServlet.java) (Login servlet)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("Web user"))
node_login["Login servlet<br/>[LoginServlet.java]"]
node_insert_test["Insert test"]
node_h2[("H2 database")]

node_user -->|"requests /login.do"| node_login
node_insert_test -->|"opens JDBC connection"| node_h2

click node_login "https://github.com/earthly-j/boardweb/blob/main/src/main/java/com/ssamz/web/user/LoginServlet.java"
click node_insert_test "https://github.com/earthly-j/boardweb/blob/main/src/main/java/com/ssamz/biz/InsertUserTest.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user toneBlue
class node_login,node_insert_test toneTeal
class node_h2 toneAmber
```

## Components

### Other components

- **Web user**
- [Login servlet](https://github.com/earthly-j/boardweb/blob/main/src/main/java/com/ssamz/web/user/LoginServlet.java): `src/main/java/com/ssamz/web/user/LoginServlet.java`
- [Insert test](https://github.com/earthly-j/boardweb/blob/main/src/main/java/com/ssamz/biz/InsertUserTest.java): `src/main/java/com/ssamz/biz/InsertUserTest.java`
- **H2 database**

## Connections

- Web user → Login servlet: requests /login.do (evidence: `src/main/java/com/ssamz/web/user/LoginServlet.java`)
- Insert test → H2 database: opens JDBC connection (evidence: `src/main/java/com/ssamz/biz/InsertUserTest.java`)
