# itssubhojit/debsu-lit_book-store_group-project- architecture

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

- Interactive diagram: https://gitdiagram.com/itssubhojit/debsu-lit_book-store_group-project-
- Repository: https://github.com/itssubhojit/debsu-lit_book-store_group-project-

## Overview

DebSu Lit is a Django online bookstore. A shopper enters through the storefront, browses categorized books and details, signs in or registers, manages a cart, and submits checkout for Razorpay payment; the application creates orders and exposes order history. Separate branches cover profile management, student-record CRUD, and Django’s custom admin. The sampled views, routes, models, forms, and settings ground the main links; catalog showcases and admin capabilities are also documented in the README. Some template and database details are inferred only at the documented level.

Main entry points: [`BOOK STORE (DebSu Lit)/book_store/myapp/views.py`](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py) (Request handlers), [`BOOK STORE (DebSu Lit)/book_store/myapp/models.py`](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/models.py) (Domain models), [`BOOK STORE (DebSu Lit)/book_store/book_store/urls.py`](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/book_store/urls.py) (Route dispatch), [`BOOK STORE (DebSu Lit)/book_store/myapp/urls.py`](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/urls.py) (Store routes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web application"]
  node_routing["Route dispatch<br/>[urls.py]"]
  node_app_routes["Store routes<br/>[urls.py]"]
  node_controllers["Request handlers<br/>[views.py]"]
  node_pages["Page templates"]
end

subgraph group_commerce["Book commerce"]
  node_discovery["Catalog discovery<br/>[views.py]"]
  node_book_details["Book details<br/>[views.py]"]
  node_cart["Shopping cart<br/>[views.py]"]
  node_checkout["Payment checkout<br/>[views.py]"]
  node_orders["Order history<br/>[views.py]"]
  node_razorpay["Razorpay"]
end

subgraph group_identity["Accounts and records"]
  node_accounts["User accounts<br/>[views.py]"]
  node_account_forms["Account forms<br/>[forms.py]"]
  node_student_crud["Student records<br/>[views.py]"]
  node_student_forms["Student form<br/>[forms.py]"]
end

subgraph group_operations["Administration"]
  node_domain_models[("Domain models<br/>[models.py]")]
  node_admin_suite["Custom admin<br/>[admin.py]"]
end

node_shopper(("Shopper"))
node_mysql[("MySQL database")]

node_shopper -->|"requests pages"| node_routing
node_routing -->|"includes routes"| node_app_routes
node_app_routes -->|"dispatches views"| node_controllers
node_controllers -->|"handles browsing"| node_discovery
node_controllers -->|"loads item"| node_book_details
node_controllers -->|"updates cart"| node_cart
node_controllers -->|"starts checkout"| node_checkout
node_controllers -->|"lists orders"| node_orders
node_controllers -->|"handles accounts"| node_accounts
node_controllers -->|"handles records"| node_student_crud
node_discovery -->|"queries catalog"| node_domain_models
node_book_details -->|"loads item"| node_domain_models
node_cart -->|"reads and writes"| node_domain_models
node_checkout -->|"creates orders"| node_domain_models
node_checkout -->|"creates payment order"| node_razorpay
node_orders -->|"queries history"| node_domain_models
node_accounts -->|"uses forms"| node_account_forms
node_account_forms -->|"validates users"| node_domain_models
node_student_crud -->|"uses form"| node_student_forms
node_student_forms -->|"validates students"| node_domain_models
node_admin_suite -->|"registers catalog"| node_domain_models
node_controllers -->|"renders pages"| node_pages
node_domain_models -->|"persists records"| node_mysql

click node_routing "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/book_store/urls.py"
click node_app_routes "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/urls.py"
click node_controllers "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py"
click node_pages "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/tree/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/templates/myapp"
click node_discovery "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py"
click node_book_details "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py"
click node_cart "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py"
click node_checkout "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py"
click node_orders "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py"
click node_accounts "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py"
click node_account_forms "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/forms.py"
click node_student_crud "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py"
click node_student_forms "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/forms.py"
click node_domain_models "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/models.py"
click node_admin_suite "https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/admin.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_routing,node_app_routes,node_controllers,node_pages toneBlue
class node_discovery,node_book_details,node_cart,node_checkout,node_orders,node_razorpay,node_mysql toneAmber
class node_accounts,node_account_forms,node_student_crud,node_student_forms toneMint
class node_domain_models,node_admin_suite toneRose
class node_shopper toneIndigo
```

## Components

### Web application

- [Route dispatch](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/book_store/urls.py): `BOOK STORE (DebSu Lit)/book_store/book_store/urls.py`
- [Store routes](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/urls.py): `BOOK STORE (DebSu Lit)/book_store/myapp/urls.py`
- [Request handlers](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py): `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`
- [Page templates](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/tree/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/templates/myapp): `BOOK STORE (DebSu Lit)/book_store/myapp/templates/myapp`

### Book commerce

- [Catalog discovery](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py): `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`
- [Book details](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py): `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`
- [Shopping cart](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py): `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`
- [Payment checkout](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py): `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`
- [Order history](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py): `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`
- **Razorpay**

### Accounts and records

- [User accounts](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py): `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`
- [Account forms](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/forms.py): `BOOK STORE (DebSu Lit)/book_store/myapp/forms.py`
- [Student records](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py): `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`
- [Student form](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/forms.py): `BOOK STORE (DebSu Lit)/book_store/myapp/forms.py`

### Administration

- [Domain models](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/models.py): `BOOK STORE (DebSu Lit)/book_store/myapp/models.py`
- [Custom admin](https://github.com/itssubhojit/debsu-lit_book-store_group-project-/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/admin.py): `BOOK STORE (DebSu Lit)/book_store/myapp/admin.py`

### Other components

- **Shopper**
- **MySQL database**

## Connections

- Shopper → Route dispatch: requests pages (evidence: `README.md`)
- Route dispatch → Store routes: includes routes (evidence: `BOOK STORE (DebSu Lit)/book_store/book_store/urls.py`)
- Store routes → Request handlers: dispatches views (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/urls.py`)
- Request handlers → Catalog discovery: handles browsing (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Request handlers → Book details: loads item (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Request handlers → Shopping cart: updates cart (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Request handlers → Payment checkout: starts checkout (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Request handlers → Order history: lists orders (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Request handlers → User accounts: handles accounts (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Request handlers → Student records: handles records (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Catalog discovery → Domain models: queries catalog (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Book details → Domain models: loads item (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Shopping cart → Domain models: reads and writes (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Payment checkout → Domain models: creates orders (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Payment checkout → Razorpay: creates payment order (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Order history → Domain models: queries history (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- User accounts → Account forms: uses forms (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Account forms → Domain models: validates users (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/forms.py`)
- Student records → Student form: uses form (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Student form → Domain models: validates students (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/forms.py`)
- Custom admin → Domain models: registers catalog (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/admin.py`)
- Request handlers → Page templates: renders pages (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Domain models → MySQL database: persists records
