# wikwis/library-project-pcz architecture

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

- Interactive diagram: https://gitdiagram.com/wikwis/library-project-pcz
- Repository: https://github.com/wikwis/library-project-pcz

## Overview

This is a small course-project web application scaffold. Its shown backend workflow maps HTTP requests to controllers; the root GET endpoint returns a fixed dictionary of team-member names and aliases. An Astro frontend is present, but its page and layout source were not sampled, so their behavior and relationship to the API cannot be established. The README lists a SQL Server port, but the available evidence does not show application use of it.

Main entry points: [`backend/main/Controllers/TestController.cs`](https://github.com/wikwis/library-project-pcz/blob/main/backend/main/Controllers/TestController.cs) (Team endpoint), [`backend/main/Program.cs`](https://github.com/wikwis/library-project-pcz/blob/main/backend/main/Program.cs) (Web application)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_backend["Backend API"]
  node_api["Web application<br/>[Program.cs]"]
  node_team_endpoint["Team endpoint<br/>[TestController.cs]"]
end

subgraph group_frontend["Frontend"]
  node_home_page["Home page<br/>[index.astro]"]
  node_base_layout["Base layout<br/>[BaseLayout.astro]"]
end

node_user(("HTTP client"))

node_user -->|"requests GET"| node_team_endpoint
node_api -->|"maps controllers"| node_team_endpoint

click node_api "https://github.com/wikwis/library-project-pcz/blob/main/backend/main/Program.cs"
click node_team_endpoint "https://github.com/wikwis/library-project-pcz/blob/main/backend/main/Controllers/TestController.cs"
click node_home_page "https://github.com/wikwis/library-project-pcz/blob/main/frontend/src/pages/index.astro"
click node_base_layout "https://github.com/wikwis/library-project-pcz/blob/main/frontend/src/layouts/BaseLayout.astro"

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_api,node_team_endpoint,node_user toneBlue
class node_home_page,node_base_layout toneAmber
```

## Components

### Backend API

- [Web application](https://github.com/wikwis/library-project-pcz/blob/main/backend/main/Program.cs): `backend/main/Program.cs`
- [Team endpoint](https://github.com/wikwis/library-project-pcz/blob/main/backend/main/Controllers/TestController.cs): `backend/main/Controllers/TestController.cs`

### Frontend

- [Home page](https://github.com/wikwis/library-project-pcz/blob/main/frontend/src/pages/index.astro): `frontend/src/pages/index.astro`
- [Base layout](https://github.com/wikwis/library-project-pcz/blob/main/frontend/src/layouts/BaseLayout.astro): `frontend/src/layouts/BaseLayout.astro`

### Other components

- **HTTP client**

## Connections

- HTTP client → Team endpoint: requests GET (evidence: `backend/main/Controllers/TestController.cs`)
- Web application → Team endpoint: maps controllers (evidence: `backend/main/Program.cs`)
