# cimbomlu181818/deneme architecture

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

- Interactive diagram: https://gitdiagram.com/cimbomlu181818/deneme
- Repository: https://github.com/cimbomlu181818/deneme

## Overview

This repository contains a Django backend for a mobile client, centered on account registration, email verification, sign-in, device tracking, access checks, and password recovery. Requests enter through the project URL configuration and reach account views, which read and update user, device, and maintenance settings records; email-dependent flows use SMTP. A separate Django admin interface supports account and maintenance management. The Android source is not present in the supplied tree. Runtime relationships are based on the shown URL, view, model, admin, and settings excerpts; other connections are omitted where not evidenced.

Main entry points: [`azsh_backend/kullanicilar/urls.py`](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/urls.py) (API Routes), [`azsh_backend/kullanicilar/models.py`](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/models.py) (User Records), [`azsh_backend/kullanicilar/admin.py`](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/admin.py) (User Admin), [`azsh_backend/kullanicilar/views.py`](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/views.py) (Registration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["Client API"]
  node_api_routes["API Routes<br/>[urls.py]"]
  node_registration["Registration<br/>[views.py]"]
  node_verification["Email Verification<br/>[views.py]"]
  node_sign_in["Sign-in<br/>[views.py]"]
  node_access_check["Access Check<br/>[views.py]"]
  node_device_logout["Device Logout<br/>[views.py]"]
  node_password_recovery["Password Recovery<br/>[views.py]"]
end

subgraph group_accounts["Account Data"]
  node_user_records[("User Records<br/>[models.py]")]
  node_device_records[("Device Records<br/>[models.py]")]
  node_maintenance_settings[("Maintenance Settings<br/>[models.py]")]
  node_database_config["Database Configuration<br/>[settings.py]"]
end

subgraph group_operations["Admin Operations"]
  node_admin_user_tools["User Admin<br/>[admin.py]"]
  node_admin_settings["Maintenance Admin<br/>[admin.py]"]
  node_project_routes["Project Routes<br/>[urls.py]"]
  node_project_settings["Project Settings<br/>[settings.py]"]
end

node_client(("Mobile Client"))
node_smtp["SMTP Email"]
node_admin_operator(("Admin Operator"))

node_client -->|"sends requests"| node_api_routes
node_api_routes -->|"routes registration"| node_registration
node_api_routes -->|"routes verification"| node_verification
node_api_routes -->|"routes sign-in"| node_sign_in
node_api_routes -->|"routes access"| node_access_check
node_api_routes -->|"routes logout"| node_device_logout
node_api_routes -->|"routes recovery"| node_password_recovery
node_registration -->|"creates or updates"| node_user_records
node_verification -->|"checks and updates"| node_user_records
node_sign_in -->|"checks credentials"| node_user_records
node_sign_in -->|"registers device"| node_device_records
node_access_check -->|"reads and updates"| node_user_records
node_access_check -->|"checks maintenance"| node_maintenance_settings
node_device_logout -->|"looks up account"| node_user_records
node_device_logout -->|"deletes device"| node_device_records
node_password_recovery -->|"resets credentials"| node_user_records
node_registration -->|"sends verification"| node_smtp
node_password_recovery -.->|"sends reset code"| node_smtp
node_admin_operator -->|"opens admin"| node_project_routes
node_project_routes -->|"routes admin"| node_admin_user_tools
node_admin_user_tools -->|"manages accounts"| node_user_records
node_admin_user_tools -->|"displays devices"| node_device_records
node_admin_user_tools -->|"sends bulk mail"| node_smtp
node_admin_settings -->|"manages settings"| node_maintenance_settings
node_project_settings -->|"configures database"| node_database_config
node_project_settings -->|"sets URL config"| node_project_routes

click node_api_routes "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/urls.py"
click node_registration "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/views.py"
click node_verification "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/views.py"
click node_sign_in "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/views.py"
click node_access_check "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/views.py"
click node_device_logout "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/views.py"
click node_password_recovery "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/views.py"
click node_user_records "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/models.py"
click node_device_records "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/models.py"
click node_maintenance_settings "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/models.py"
click node_database_config "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/azshserver/settings.py"
click node_admin_user_tools "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/admin.py"
click node_admin_settings "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/admin.py"
click node_project_routes "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/azshserver/urls.py"
click node_project_settings "https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/azshserver/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_api_routes,node_registration,node_verification,node_sign_in,node_access_check,node_device_logout,node_password_recovery,node_client toneBlue
class node_user_records,node_device_records,node_maintenance_settings,node_database_config toneAmber
class node_admin_user_tools,node_admin_settings,node_project_routes,node_project_settings toneMint
class node_smtp,node_admin_operator toneIndigo
```

## Components

### Client API

- [API Routes](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/urls.py): `azsh_backend/kullanicilar/urls.py`
- [Registration](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/views.py): `azsh_backend/kullanicilar/views.py`
- [Email Verification](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/views.py): `azsh_backend/kullanicilar/views.py`
- [Sign-in](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/views.py): `azsh_backend/kullanicilar/views.py`
- [Access Check](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/views.py): `azsh_backend/kullanicilar/views.py`
- [Device Logout](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/views.py): `azsh_backend/kullanicilar/views.py`
- [Password Recovery](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/views.py): `azsh_backend/kullanicilar/views.py`

### Account Data

- [User Records](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/models.py): `azsh_backend/kullanicilar/models.py`
- [Device Records](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/models.py): `azsh_backend/kullanicilar/models.py`
- [Maintenance Settings](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/models.py): `azsh_backend/kullanicilar/models.py`
- [Database Configuration](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/azshserver/settings.py): `azsh_backend/azshserver/settings.py`

### Admin Operations

- [User Admin](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/admin.py): `azsh_backend/kullanicilar/admin.py`
- [Maintenance Admin](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/kullanicilar/admin.py): `azsh_backend/kullanicilar/admin.py`
- [Project Routes](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/azshserver/urls.py): `azsh_backend/azshserver/urls.py`
- [Project Settings](https://github.com/cimbomlu181818/deneme/blob/main/azsh_backend/azshserver/settings.py): `azsh_backend/azshserver/settings.py`

### Other components

- **Mobile Client**
- **SMTP Email**
- **Admin Operator**

## Connections

- Mobile Client → API Routes: sends requests
- API Routes → Registration: routes registration (evidence: `azsh_backend/kullanicilar/urls.py`)
- API Routes → Email Verification: routes verification (evidence: `azsh_backend/kullanicilar/urls.py`)
- API Routes → Sign-in: routes sign-in (evidence: `azsh_backend/kullanicilar/urls.py`)
- API Routes → Access Check: routes access (evidence: `azsh_backend/kullanicilar/urls.py`)
- API Routes → Device Logout: routes logout (evidence: `azsh_backend/kullanicilar/urls.py`)
- API Routes → Password Recovery: routes recovery (evidence: `azsh_backend/kullanicilar/urls.py`)
- Registration → User Records: creates or updates (evidence: `azsh_backend/kullanicilar/views.py`)
- Email Verification → User Records: checks and updates (evidence: `azsh_backend/kullanicilar/views.py`)
- Sign-in → User Records: checks credentials (evidence: `azsh_backend/kullanicilar/views.py`)
- Sign-in → Device Records: registers device (evidence: `azsh_backend/kullanicilar/views.py`)
- Access Check → User Records: reads and updates (evidence: `azsh_backend/kullanicilar/views.py`)
- Access Check → Maintenance Settings: checks maintenance (evidence: `azsh_backend/kullanicilar/views.py`)
- Device Logout → User Records: looks up account (evidence: `azsh_backend/kullanicilar/views.py`)
- Device Logout → Device Records: deletes device (evidence: `azsh_backend/kullanicilar/views.py`)
- Password Recovery → User Records: resets credentials (evidence: `azsh_backend/kullanicilar/views.py`)
- Registration → SMTP Email: sends verification (evidence: `azsh_backend/kullanicilar/views.py`)
- Password Recovery → SMTP Email: sends reset code
- Admin Operator → Project Routes: opens admin (evidence: `azsh_backend/azshserver/urls.py`)
- Project Routes → User Admin: routes admin (evidence: `azsh_backend/azshserver/urls.py`)
- User Admin → User Records: manages accounts (evidence: `azsh_backend/kullanicilar/admin.py`)
- User Admin → Device Records: displays devices (evidence: `azsh_backend/kullanicilar/admin.py`)
- User Admin → SMTP Email: sends bulk mail (evidence: `azsh_backend/kullanicilar/admin.py`)
- Maintenance Admin → Maintenance Settings: manages settings (evidence: `azsh_backend/kullanicilar/admin.py`)
- Project Settings → Database Configuration: configures database (evidence: `azsh_backend/azshserver/settings.py`)
- Project Settings → Project Routes: sets URL config (evidence: `azsh_backend/azshserver/settings.py`)
