# abylaymoldabek/onlineshop architecture

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

- Interactive diagram: https://gitdiagram.com/abylaymoldabek/onlineshop
- Repository: https://github.com/abylaymoldabek/onlineshop

## Overview

This repository is a minimal Django project exposing Django’s built-in admin at `/admin/`; no React frontend or project-specific business workflow is present in the supplied tree. An HTTP request enters through either the ASGI or WSGI callable, is routed to the admin site, and uses the configured SQLite database. The graph reflects the project configuration and entry points shown; framework-internal request and database behavior is not implemented in sampled project source.

Main entry points: [`DjangoReact/asgi.py`](https://github.com/abylaymoldabek/onlineshop/blob/master/DjangoReact/asgi.py) (ASGI callable), [`DjangoReact/wsgi.py`](https://github.com/abylaymoldabek/onlineshop/blob/master/DjangoReact/wsgi.py) (WSGI callable), [`DjangoReact/urls.py`](https://github.com/abylaymoldabek/onlineshop/blob/master/DjangoReact/urls.py) (URL configuration), [`DjangoReact/settings.py`](https://github.com/abylaymoldabek/onlineshop/blob/master/DjangoReact/settings.py) (Django settings)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Server entry"]
  node_asgi["ASGI callable<br/>[asgi.py]"]
  node_wsgi["WSGI callable<br/>[wsgi.py]"]
end

subgraph group_routing["Admin routing"]
  node_urls["URL configuration<br/>[urls.py]"]
  node_admin["Django admin"]
end

subgraph group_state["Configuration and state"]
  node_settings["Django settings<br/>[settings.py]"]
  node_sqlite[("SQLite database<br/>[db.sqlite3]")]
end

node_client(("HTTP client"))

node_client -->|"sends request"| node_asgi
node_client -->|"sends request"| node_wsgi
node_asgi -->|"loads settings"| node_settings
node_wsgi -->|"loads settings"| node_settings
node_asgi -->|"routes via"| node_urls
node_wsgi -->|"routes via"| node_urls
node_urls -->|"dispatches to"| node_admin
node_settings -->|"configures"| node_sqlite

click node_asgi "https://github.com/abylaymoldabek/onlineshop/blob/master/DjangoReact/asgi.py"
click node_wsgi "https://github.com/abylaymoldabek/onlineshop/blob/master/DjangoReact/wsgi.py"
click node_settings "https://github.com/abylaymoldabek/onlineshop/blob/master/DjangoReact/settings.py"
click node_urls "https://github.com/abylaymoldabek/onlineshop/blob/master/DjangoReact/urls.py"
click node_sqlite "https://github.com/abylaymoldabek/onlineshop/blob/master/db.sqlite3"

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_asgi,node_wsgi,node_client toneBlue
class node_urls,node_admin toneAmber
class node_settings,node_sqlite toneMint
```

## Components

### Server entry

- [ASGI callable](https://github.com/abylaymoldabek/onlineshop/blob/master/DjangoReact/asgi.py): `DjangoReact/asgi.py`
- [WSGI callable](https://github.com/abylaymoldabek/onlineshop/blob/master/DjangoReact/wsgi.py): `DjangoReact/wsgi.py`

### Admin routing

- [URL configuration](https://github.com/abylaymoldabek/onlineshop/blob/master/DjangoReact/urls.py): `DjangoReact/urls.py`
- **Django admin**

### Configuration and state

- [Django settings](https://github.com/abylaymoldabek/onlineshop/blob/master/DjangoReact/settings.py): `DjangoReact/settings.py`
- [SQLite database](https://github.com/abylaymoldabek/onlineshop/blob/master/db.sqlite3): `db.sqlite3`

### Other components

- **HTTP client**

## Connections

- HTTP client → ASGI callable: sends request
- HTTP client → WSGI callable: sends request
- ASGI callable → Django settings: loads settings
- WSGI callable → Django settings: loads settings
- ASGI callable → URL configuration: routes via
- WSGI callable → URL configuration: routes via
- URL configuration → Django admin: dispatches to
- Django settings → SQLite database: configures
