# joaoptoaldo/osce-trainer architecture

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

- Interactive diagram: https://gitdiagram.com/joaoptoaldo/osce-trainer
- Repository: https://github.com/joaoptoaldo/osce-trainer

## Overview

OSCE Trainer is described as an educational web app for individual OSCE practice, but the available runtime source is only a Django landing-page scaffold. Its visible workflow is a browser request routed to a view that renders the index template. The README describes AI-supported simulations and formative checklist assessment, but no implementation of those capabilities appears in the inspected source; they are therefore not represented as runtime components.

Main entry points: [`proj/urls.py`](https://github.com/joaoptoaldo/osce-trainer/blob/main/proj/urls.py) (Project routes), [`apps/urls.py`](https://github.com/joaoptoaldo/osce-trainer/blob/main/apps/urls.py) (App routes), [`apps/views.py`](https://github.com/joaoptoaldo/osce-trainer/blob/main/apps/views.py) (Landing view), [`apps/templates/index.html`](https://github.com/joaoptoaldo/osce-trainer/blob/main/apps/templates/index.html) (Index template)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_student(("Student"))
node_project_routes["Project routes<br/>[urls.py]"]
node_app_routes["App routes<br/>[urls.py]"]
node_landing_view["Landing view<br/>[views.py]"]
node_index_template["Index template<br/>[index.html]"]

node_student -->|"requests page"| node_project_routes
node_project_routes -->|"includes routes"| node_app_routes
node_app_routes -->|"dispatches request"| node_landing_view
node_landing_view -->|"renders template"| node_index_template

click node_project_routes "https://github.com/joaoptoaldo/osce-trainer/blob/main/proj/urls.py"
click node_app_routes "https://github.com/joaoptoaldo/osce-trainer/blob/main/apps/urls.py"
click node_landing_view "https://github.com/joaoptoaldo/osce-trainer/blob/main/apps/views.py"
click node_index_template "https://github.com/joaoptoaldo/osce-trainer/blob/main/apps/templates/index.html"

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_student toneIndigo
class node_project_routes,node_app_routes toneMint
class node_landing_view toneBlue
class node_index_template toneTeal
```

## Components

### Other components

- **Student**
- [Project routes](https://github.com/joaoptoaldo/osce-trainer/blob/main/proj/urls.py): `proj/urls.py`
- [App routes](https://github.com/joaoptoaldo/osce-trainer/blob/main/apps/urls.py): `apps/urls.py`
- [Landing view](https://github.com/joaoptoaldo/osce-trainer/blob/main/apps/views.py): `apps/views.py`
- [Index template](https://github.com/joaoptoaldo/osce-trainer/blob/main/apps/templates/index.html): `apps/templates/index.html`

## Connections

- Student → Project routes: requests page (evidence: `proj/urls.py`)
- Project routes → App routes: includes routes (evidence: `proj/urls.py`)
- App routes → Landing view: dispatches request (evidence: `apps/urls.py`)
- Landing view → Index template: renders template (evidence: `apps/views.py`)
