# platzi/git-github architecture

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

- Interactive diagram: https://gitdiagram.com/platzi/git-github
- Repository: https://github.com/platzi/git-github

## Overview

This repository is a Git/GitHub course sample collection: a small API, a web presentation template, a greeting package, and contribution/alias guidance. The clearest runtime workflow is a client requesting an API route and receiving its response; the package offers a separate call-and-return workflow. The API and package sources were inspected. The README documents the other capabilities, but the web page and contribution document were not sampled, so their internal behavior and links are not inferred beyond what the README states.

Main entry points: [`API_Python/app.py`](https://github.com/platzi/git-github/blob/main/API_Python/app.py) (FastAPI routes), [`plantilla_web/index.html`](https://github.com/platzi/git-github/blob/main/plantilla_web/index.html) (Presentation template), [`Paquete/mi_paquete/__init__.py`](https://github.com/platzi/git-github/blob/main/Paquete/mi_paquete/__init__.py) (Greeting function), [`plantilla_web/assets/style.css`](https://github.com/platzi/git-github/blob/main/plantilla_web/assets/style.css) (Page styling)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["Python API"]
  node_api_app["FastAPI routes<br/>[app.py]"]
  node_api_response["Route responses<br/>[app.py]"]
end

subgraph group_web["Web Template"]
  node_web_page["Presentation template<br/>[index.html]"]
  node_web_style["Page styling<br/>[style.css]"]
end

subgraph group_package["Greeting Package"]
  node_greeting_function["Greeting function<br/>[__init__.py]"]
  node_greeting_text["Greeting text"]
end

subgraph group_guidance["Course Contributions"]
  node_contribution_list["Contributor list<br/>[Contribuciones.md]"]
  node_alias_guide["Git aliases<br/>[README.md]"]
end

node_api_client(("API client"))
node_web_visitor(("Presentation visitor"))
node_package_user(("Package user"))
node_contributor(("Contributor"))
node_git_user(("Git user"))

node_api_client -->|"requests routes"| node_api_app
node_api_app -->|"returns data"| node_api_response
node_web_visitor -.->|"views template"| node_web_page
node_web_page -.->|"uses styles"| node_web_style
node_package_user -.->|"calls function"| node_greeting_function
node_greeting_function -->|"returns greeting"| node_greeting_text
node_contributor -->|"adds contribution"| node_contribution_list
node_git_user -->|"uses aliases"| node_alias_guide

click node_api_app "https://github.com/platzi/git-github/blob/main/API_Python/app.py"
click node_api_response "https://github.com/platzi/git-github/blob/main/API_Python/app.py"
click node_web_page "https://github.com/platzi/git-github/blob/main/plantilla_web/index.html"
click node_web_style "https://github.com/platzi/git-github/blob/main/plantilla_web/assets/style.css"
click node_greeting_function "https://github.com/platzi/git-github/blob/main/Paquete/mi_paquete/__init__.py"
click node_contribution_list "https://github.com/platzi/git-github/blob/main/Contribuciones.md"
click node_alias_guide "https://github.com/platzi/git-github/blob/main/README.md"

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_app,node_api_response,node_api_client,node_package_user,node_git_user toneBlue
class node_web_page,node_web_style toneAmber
class node_greeting_function,node_greeting_text toneMint
class node_contribution_list,node_alias_guide toneRose
class node_web_visitor,node_contributor toneIndigo
```

## Components

### Python API

- [FastAPI routes](https://github.com/platzi/git-github/blob/main/API_Python/app.py): `API_Python/app.py`
- [Route responses](https://github.com/platzi/git-github/blob/main/API_Python/app.py): `API_Python/app.py`

### Web Template

- [Presentation template](https://github.com/platzi/git-github/blob/main/plantilla_web/index.html): `plantilla_web/index.html`
- [Page styling](https://github.com/platzi/git-github/blob/main/plantilla_web/assets/style.css): `plantilla_web/assets/style.css`

### Greeting Package

- [Greeting function](https://github.com/platzi/git-github/blob/main/Paquete/mi_paquete/__init__.py): `Paquete/mi_paquete/__init__.py`
- **Greeting text**

### Course Contributions

- [Contributor list](https://github.com/platzi/git-github/blob/main/Contribuciones.md): `Contribuciones.md`
- [Git aliases](https://github.com/platzi/git-github/blob/main/README.md): `README.md`

### Other components

- **API client**
- **Presentation visitor**
- **Package user**
- **Contributor**
- **Git user**

## Connections

- API client → FastAPI routes: requests routes (evidence: `API_Python/app.py`)
- FastAPI routes → Route responses: returns data (evidence: `API_Python/app.py`)
- Presentation visitor → Presentation template: views template (evidence: `README.md`)
- Presentation template → Page styling: uses styles
- Package user → Greeting function: calls function
- Greeting function → Greeting text: returns greeting (evidence: `Paquete/mi_paquete/__init__.py`)
- Contributor → Contributor list: adds contribution (evidence: `README.md`)
- Git user → Git aliases: uses aliases (evidence: `README.md`)
