# jijavemi/capstone_infra architecture

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

- Interactive diagram: https://gitdiagram.com/jijavemi/capstone_infra
- Repository: https://github.com/jijavemi/capstone_infra

## Overview

This repository is a small PrintOS coordination repository, not the application implementation. Its documented workflow is to place it beside the separate frontend and backend repositories, then use Docker Compose to run both. The README also describes reinitializing the database by deleting its Docker volume. No source excerpts were provided, so relationships are limited to those documented; the database initialization file’s specific role is not established.

Main entry points: [`docker-compose.yml`](https://github.com/jijavemi/capstone_infra/blob/main/docker-compose.yml) (Docker Compose configuration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_coordination["Local coordination"]
  node_compose["Docker Compose configuration<br/>[docker-compose.yml]"]
end

subgraph group_printos["PrintOS services"]
  node_frontend["HP frontend repository"]
  node_backend["HP backend repository"]
end

subgraph group_data["Database state"]
  node_database[("Database volume")]
  node_init_sql["Database initialization SQL<br/>[init.sql]"]
end

node_developer(("Developer"))

node_developer -->|"starts services"| node_compose
node_compose -->|"runs alongside"| node_frontend
node_compose -->|"runs alongside"| node_backend
node_developer -->|"deletes volume to reinitialize"| node_database

click node_compose "https://github.com/jijavemi/capstone_infra/blob/main/docker-compose.yml"
click node_init_sql "https://github.com/jijavemi/capstone_infra/blob/main/init.sql"

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_compose toneBlue
class node_frontend,node_backend toneAmber
class node_database,node_init_sql toneMint
class node_developer toneIndigo
```

## Components

### Local coordination

- [Docker Compose configuration](https://github.com/jijavemi/capstone_infra/blob/main/docker-compose.yml): `docker-compose.yml`

### PrintOS services

- **HP frontend repository**
- **HP backend repository**

### Database state

- **Database volume**
- [Database initialization SQL](https://github.com/jijavemi/capstone_infra/blob/main/init.sql): `init.sql`

### Other components

- **Developer**

## Connections

- Developer → Docker Compose configuration: starts services (evidence: `README.md`)
- Docker Compose configuration → HP frontend repository: runs alongside (evidence: `README.md`)
- Docker Compose configuration → HP backend repository: runs alongside (evidence: `README.md`)
- Developer → Database volume: deletes volume to reinitialize (evidence: `README.md`)
