# nicolejaneabing5-sudo/pelec1_atm-simulator architecture

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

- Interactive diagram: https://gitdiagram.com/nicolejaneabing5-sudo/pelec1_atm-simulator
- Repository: https://github.com/nicolejaneabing5-sudo/pelec1_atm-simulator

## Overview

This is a minimal Django ATM-simulator scaffold: its only implemented ATM behavior is a home page returning a welcome message. A browser request is routed through the project URL configuration and the ATM URL pattern to that view. The project also exposes Django’s admin route. No account, balance, or transaction workflow is implemented in the sampled code; models are empty. The graph focuses on those evidenced routes and response behavior.

Main entry points: [`config/urls.py`](https://github.com/nicolejaneabing5-sudo/pelec1_atm-simulator/blob/main/config/urls.py) (Project routes), [`atm/urls.py`](https://github.com/nicolejaneabing5-sudo/pelec1_atm-simulator/blob/main/atm/urls.py) (ATM routes), [`atm/views.py`](https://github.com/nicolejaneabing5-sudo/pelec1_atm-simulator/blob/main/atm/views.py) (Welcome view), [`config/settings.py`](https://github.com/nicolejaneabing5-sudo/pelec1_atm-simulator/blob/main/config/settings.py) (Django settings)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_browser(("Browser"))
node_settings["Django settings<br/>[settings.py]"]
node_project_urls["Project routes<br/>[urls.py]"]
node_atm_urls["ATM routes<br/>[urls.py]"]
node_home["Welcome view<br/>[views.py]"]
node_welcome["Welcome response"]
node_django_admin["Django admin"]

node_settings -->|"sets root routes"| node_project_urls
node_browser -->|"requests page"| node_project_urls
node_project_urls -->|"includes routes"| node_atm_urls
node_atm_urls -->|"routes to"| node_home
node_home -->|"returns"| node_welcome
node_project_urls -->|"routes admin"| node_django_admin

click node_settings "https://github.com/nicolejaneabing5-sudo/pelec1_atm-simulator/blob/main/config/settings.py"
click node_project_urls "https://github.com/nicolejaneabing5-sudo/pelec1_atm-simulator/blob/main/config/urls.py"
click node_atm_urls "https://github.com/nicolejaneabing5-sudo/pelec1_atm-simulator/blob/main/atm/urls.py"
click node_home "https://github.com/nicolejaneabing5-sudo/pelec1_atm-simulator/blob/main/atm/views.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_browser,node_home toneBlue
class node_settings toneTeal
class node_project_urls,node_atm_urls toneMint
class node_welcome,node_django_admin toneIndigo
```

## Components

### Other components

- **Browser**
- [Django settings](https://github.com/nicolejaneabing5-sudo/pelec1_atm-simulator/blob/main/config/settings.py): `config/settings.py`
- [Project routes](https://github.com/nicolejaneabing5-sudo/pelec1_atm-simulator/blob/main/config/urls.py): `config/urls.py`
- [ATM routes](https://github.com/nicolejaneabing5-sudo/pelec1_atm-simulator/blob/main/atm/urls.py): `atm/urls.py`
- [Welcome view](https://github.com/nicolejaneabing5-sudo/pelec1_atm-simulator/blob/main/atm/views.py): `atm/views.py`
- **Welcome response**
- **Django admin**

## Connections

- Django settings → Project routes: sets root routes (evidence: `config/settings.py`)
- Browser → Project routes: requests page (evidence: `config/urls.py`)
- Project routes → ATM routes: includes routes (evidence: `config/urls.py`)
- ATM routes → Welcome view: routes to (evidence: `atm/urls.py`)
- Welcome view → Welcome response: returns (evidence: `atm/views.py`)
- Project routes → Django admin: routes admin (evidence: `config/urls.py`)
