# ahlemsh/cloudops-manager architecture

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

- Interactive diagram: https://gitdiagram.com/ahlemsh/cloudops-manager
- Repository: https://github.com/ahlemsh/cloudops-manager

## Overview

CloudOps Manager is a planned web platform for managing infrastructure and operations. The documented user workflow is to use the web interface to access the API for role-aware project, server, and application management, then review dashboard metrics and alerts. Monitoring, metric history, and incident management are distinct capabilities. The repository currently contains requirements, architecture and API documentation, plus placeholder app directories—not application source—so component paths identify those directories and relationships are limited to those stated in the README.

Main entry points: [`apps/backend`](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend) (REST API), [`apps/frontend`](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/frontend) (Web interface)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web experience"]
  node_frontend["Web interface"]
  node_dashboard["Dashboard"]
  node_metric_charts["Metric charts"]
end

subgraph group_api["API and operations"]
  node_api["REST API"]
  node_auth["Authentication and RBAC"]
  node_projects["Project management"]
  node_servers["Server inventory"]
  node_applications["Application tracking"]
end

subgraph group_monitoring["Monitoring and alerts"]
  node_scheduler["Monitoring scheduler"]
  node_metrics["Metric collection"]
  node_metric_history["Metric history"]
  node_alert_rules["Alert thresholds"]
  node_incidents["Alert incidents"]
end

subgraph group_data["Persistent data"]
  node_database[("PostgreSQL")]
end

node_operator(("Ops user"))

node_operator -->|"uses"| node_frontend
node_frontend -->|"REST calls"| node_api
node_api -->|"reads and writes"| node_database
node_api -->|"runs monitoring"| node_scheduler
node_api -->|"enforces permissions"| node_auth
node_api -->|"manages projects"| node_projects
node_api -->|"manages servers"| node_servers
node_api -->|"tracks deployments"| node_applications
node_frontend -->|"presents overview"| node_dashboard
node_dashboard -->|"shows charts"| node_metric_charts
node_scheduler -->|"collects metrics"| node_metrics
node_metrics -->|"records history"| node_metric_history
node_metrics -->|"checks thresholds"| node_alert_rules
node_alert_rules -->|"raises incidents"| node_incidents

click node_frontend "https://github.com/ahlemsh/cloudops-manager/tree/main/apps/frontend"
click node_dashboard "https://github.com/ahlemsh/cloudops-manager/tree/main/apps/frontend"
click node_metric_charts "https://github.com/ahlemsh/cloudops-manager/tree/main/apps/frontend"
click node_api "https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend"
click node_auth "https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend"
click node_projects "https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend"
click node_servers "https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend"
click node_applications "https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend"
click node_scheduler "https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend"
click node_metrics "https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend"
click node_metric_history "https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend"
click node_alert_rules "https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend"
click node_incidents "https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend"

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_frontend,node_dashboard,node_metric_charts,node_operator toneBlue
class node_api,node_auth,node_projects,node_servers,node_applications toneAmber
class node_scheduler,node_metrics,node_metric_history,node_alert_rules,node_incidents toneMint
class node_database toneRose
```

## Components

### Web experience

- [Web interface](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/frontend): `apps/frontend`
- [Dashboard](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/frontend): `apps/frontend`
- [Metric charts](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/frontend): `apps/frontend`

### API and operations

- [REST API](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend): `apps/backend`
- [Authentication and RBAC](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend): `apps/backend`
- [Project management](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend): `apps/backend`
- [Server inventory](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend): `apps/backend`
- [Application tracking](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend): `apps/backend`

### Monitoring and alerts

- [Monitoring scheduler](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend): `apps/backend`
- [Metric collection](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend): `apps/backend`
- [Metric history](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend): `apps/backend`
- [Alert thresholds](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend): `apps/backend`
- [Alert incidents](https://github.com/ahlemsh/cloudops-manager/tree/main/apps/backend): `apps/backend`

### Persistent data

- **PostgreSQL**

### Other components

- **Ops user**

## Connections

- Ops user → Web interface: uses (evidence: `README.md`)
- Web interface → REST API: REST calls (evidence: `README.md`)
- REST API → PostgreSQL: reads and writes (evidence: `README.md`)
- REST API → Monitoring scheduler: runs monitoring (evidence: `README.md`)
- REST API → Authentication and RBAC: enforces permissions (evidence: `README.md`)
- REST API → Project management: manages projects (evidence: `README.md`)
- REST API → Server inventory: manages servers (evidence: `README.md`)
- REST API → Application tracking: tracks deployments (evidence: `README.md`)
- Web interface → Dashboard: presents overview (evidence: `README.md`)
- Dashboard → Metric charts: shows charts (evidence: `README.md`)
- Monitoring scheduler → Metric collection: collects metrics (evidence: `README.md`)
- Metric collection → Metric history: records history (evidence: `README.md`)
- Metric collection → Alert thresholds: checks thresholds (evidence: `README.md`)
- Alert thresholds → Alert incidents: raises incidents (evidence: `README.md`)
