# ahmedmohamed-1/skilltohireapi architecture

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

- Interactive diagram: https://gitdiagram.com/ahmedmohamed-1/skilltohireapi
- Repository: https://github.com/ahmedmohamed-1/skilltohireapi

## Overview

Skill2HireAPI is an ASP.NET Core API host. The visible workflow is an HTTP request entering the host, which redirects `/` to Scalar or dispatches mapped controller routes. In development and production, the host also exposes OpenAPI and Swagger/Scalar documentation. The README and supplied tree show no controller implementations or application, domain, or infrastructure source, so those layers and any business workflow cannot be described. The graph reflects only the startup code shown.

Main entry points: [`SkillToHireAPI/Program.cs`](https://github.com/ahmedmohamed-1/skilltohireapi/blob/main/SkillToHireAPI/Program.cs) (ASP.NET host)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["API host"]
  node_host["ASP.NET host<br/>[Program.cs]"]
  node_controllers["Controller routes<br/>[Program.cs]"]
  node_openapi["OpenAPI endpoint<br/>[Program.cs]"]
  node_swagger["Swagger UI<br/>[Program.cs]"]
  node_scalar["Scalar reference<br/>[Program.cs]"]
end

node_client(("HTTP client"))

node_client -->|"sends requests"| node_host
node_host -->|"redirects &#96;/&#96;"| node_client
node_host -->|"maps routes"| node_controllers
node_host -->|"maps endpoint"| node_openapi
node_host -->|"enables UI"| node_swagger
node_host -->|"maps reference"| node_scalar

click node_host "https://github.com/ahmedmohamed-1/skilltohireapi/blob/main/SkillToHireAPI/Program.cs"
click node_controllers "https://github.com/ahmedmohamed-1/skilltohireapi/blob/main/SkillToHireAPI/Program.cs"
click node_openapi "https://github.com/ahmedmohamed-1/skilltohireapi/blob/main/SkillToHireAPI/Program.cs"
click node_swagger "https://github.com/ahmedmohamed-1/skilltohireapi/blob/main/SkillToHireAPI/Program.cs"
click node_scalar "https://github.com/ahmedmohamed-1/skilltohireapi/blob/main/SkillToHireAPI/Program.cs"

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_host,node_controllers,node_openapi,node_swagger,node_scalar,node_client toneBlue
```

## Components

### API host

- [ASP.NET host](https://github.com/ahmedmohamed-1/skilltohireapi/blob/main/SkillToHireAPI/Program.cs): `SkillToHireAPI/Program.cs`
- [Controller routes](https://github.com/ahmedmohamed-1/skilltohireapi/blob/main/SkillToHireAPI/Program.cs): `SkillToHireAPI/Program.cs`
- [OpenAPI endpoint](https://github.com/ahmedmohamed-1/skilltohireapi/blob/main/SkillToHireAPI/Program.cs): `SkillToHireAPI/Program.cs`
- [Swagger UI](https://github.com/ahmedmohamed-1/skilltohireapi/blob/main/SkillToHireAPI/Program.cs): `SkillToHireAPI/Program.cs`
- [Scalar reference](https://github.com/ahmedmohamed-1/skilltohireapi/blob/main/SkillToHireAPI/Program.cs): `SkillToHireAPI/Program.cs`

### Other components

- **HTTP client**

## Connections

- HTTP client → ASP.NET host: sends requests (evidence: `SkillToHireAPI/Program.cs`)
- ASP.NET host → HTTP client: redirects `/` (evidence: `SkillToHireAPI/Program.cs`)
- ASP.NET host → Controller routes: maps routes (evidence: `SkillToHireAPI/Program.cs`)
- ASP.NET host → OpenAPI endpoint: maps endpoint (evidence: `SkillToHireAPI/Program.cs`)
- ASP.NET host → Swagger UI: enables UI (evidence: `SkillToHireAPI/Program.cs`)
- ASP.NET host → Scalar reference: maps reference (evidence: `SkillToHireAPI/Program.cs`)
