# rodrigo-rial/mi-tecnico architecture

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

- Interactive diagram: https://gitdiagram.com/rodrigo-rial/mi-tecnico
- Repository: https://github.com/rodrigo-rial/mi-tecnico

## Overview

MiTécnico is documented as a browser-based marketplace connecting customers with manually verified technicians. The intended workflow runs from technician approval and customer requests through proposals, job creation, visit-code validation, and mutual ratings; urgent service is also a documented capability. The sampled frontend currently renders only a title, and the backend tree contains Django configuration but no domain apps, so workflow components below reflect README-described capabilities, not inspected implementations. The README documents the domain relationships; source evidence is limited to frontend startup, Django admin routing, and database configuration.

Main entry points: [`backend`](https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend) (Proposals), [`frontend/src/App.jsx`](https://github.com/rodrigo-rial/mi-tecnico/blob/main/frontend/src/App.jsx) (React app), [`frontend/src/main.jsx`](https://github.com/rodrigo-rial/mi-tecnico/blob/main/frontend/src/main.jsx) (React startup), [`backend/config/urls.py`](https://github.com/rodrigo-rial/mi-tecnico/blob/main/backend/config/urls.py) (Django admin route)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web interface"]
  node_frontend["React app<br/>[App.jsx]"]
  node_startup["React startup<br/>[main.jsx]"]
end

subgraph group_market["Service marketplace"]
  node_requests["Service requests"]
  node_matching["Specialty and zone matching"]
  node_proposals["Proposals"]
  node_jobs["Job creation"]
  node_urgent["Urgent service"]
end

subgraph group_trust["Identity and trust"]
  node_profiles["Profiles and roles"]
  node_technician_review["Technician review"]
  node_visit_token["Visit security code"]
  node_ratings["Mutual ratings"]
  node_django_admin["Django admin route<br/>[urls.py]"]
  node_django_config["Django configuration<br/>[settings.py]"]
end

node_customer(("Customer"))
node_technician(("Technician"))
node_support(("Support admin"))
node_browser(("Web browser"))
node_postgres[("PostgreSQL")]

node_browser -.->|"opens"| node_startup
node_startup -->|"renders"| node_frontend
node_frontend -.->|"uses API"| node_django_admin
node_technician -->|"completes profile"| node_profiles
node_profiles -->|"submits documents"| node_technician_review
node_support -->|"reviews"| node_technician_review
node_technician_review -->|"approves technician"| node_matching
node_customer -->|"publishes"| node_requests
node_requests -->|"matches specialty and zone"| node_matching
node_matching -->|"enables proposals"| node_proposals
node_technician -->|"submits"| node_proposals
node_customer -->|"accepts"| node_proposals
node_proposals -->|"creates job"| node_jobs
node_jobs -->|"creates code"| node_visit_token
node_customer -->|"validates visit"| node_visit_token
node_jobs -->|"enables ratings"| node_ratings
node_customer -->|"rates technician"| node_ratings
node_technician -->|"rates customer"| node_ratings
node_customer -->|"requests urgent service"| node_urgent
node_django_admin -.->|"runs under"| node_django_config
node_django_config -->|"configures database"| node_postgres

click node_frontend "https://github.com/rodrigo-rial/mi-tecnico/blob/main/frontend/src/App.jsx"
click node_startup "https://github.com/rodrigo-rial/mi-tecnico/blob/main/frontend/src/main.jsx"
click node_profiles "https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend"
click node_technician_review "https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend"
click node_requests "https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend"
click node_matching "https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend"
click node_proposals "https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend"
click node_jobs "https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend"
click node_urgent "https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend"
click node_visit_token "https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend"
click node_ratings "https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend"
click node_django_admin "https://github.com/rodrigo-rial/mi-tecnico/blob/main/backend/config/urls.py"
click node_django_config "https://github.com/rodrigo-rial/mi-tecnico/blob/main/backend/config/settings.py"

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_startup,node_browser toneBlue
class node_requests,node_matching,node_proposals,node_jobs,node_urgent,node_postgres toneAmber
class node_profiles,node_technician_review,node_visit_token,node_ratings,node_django_admin,node_django_config toneMint
class node_customer,node_technician,node_support toneIndigo
```

## Components

### Web interface

- [React app](https://github.com/rodrigo-rial/mi-tecnico/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [React startup](https://github.com/rodrigo-rial/mi-tecnico/blob/main/frontend/src/main.jsx): `frontend/src/main.jsx`

### Service marketplace

- [Service requests](https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend): `backend`
- [Specialty and zone matching](https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend): `backend`
- [Proposals](https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend): `backend`
- [Job creation](https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend): `backend`
- [Urgent service](https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend): `backend`

### Identity and trust

- [Profiles and roles](https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend): `backend`
- [Technician review](https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend): `backend`
- [Visit security code](https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend): `backend`
- [Mutual ratings](https://github.com/rodrigo-rial/mi-tecnico/tree/main/backend): `backend`
- [Django admin route](https://github.com/rodrigo-rial/mi-tecnico/blob/main/backend/config/urls.py): `backend/config/urls.py`
- [Django configuration](https://github.com/rodrigo-rial/mi-tecnico/blob/main/backend/config/settings.py): `backend/config/settings.py`

### Other components

- **Customer**
- **Technician**
- **Support admin**
- **Web browser**
- **PostgreSQL**

## Connections

- Web browser → React startup: opens
- React startup → React app: renders (evidence: `frontend/src/main.jsx`)
- React app → Django admin route: uses API
- Technician → Profiles and roles: completes profile (evidence: `README.md`)
- Profiles and roles → Technician review: submits documents (evidence: `README.md`)
- Support admin → Technician review: reviews (evidence: `README.md`)
- Technician review → Specialty and zone matching: approves technician (evidence: `README.md`)
- Customer → Service requests: publishes (evidence: `README.md`)
- Service requests → Specialty and zone matching: matches specialty and zone (evidence: `README.md`)
- Specialty and zone matching → Proposals: enables proposals (evidence: `README.md`)
- Technician → Proposals: submits (evidence: `README.md`)
- Customer → Proposals: accepts (evidence: `README.md`)
- Proposals → Job creation: creates job (evidence: `README.md`)
- Job creation → Visit security code: creates code (evidence: `README.md`)
- Customer → Visit security code: validates visit (evidence: `README.md`)
- Job creation → Mutual ratings: enables ratings (evidence: `README.md`)
- Customer → Mutual ratings: rates technician (evidence: `README.md`)
- Technician → Mutual ratings: rates customer (evidence: `README.md`)
- Customer → Urgent service: requests urgent service (evidence: `README.md`)
- Django admin route → Django configuration: runs under
- Django configuration → PostgreSQL: configures database (evidence: `backend/config/settings.py`)
