# 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-13). 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 e-commerce bookstore. Customers browse book discovery pages, manage a cart, submit checkout details, complete Razorpay payment, and review orders; account management and a student registration portal are additional capabilities. The graph combines the documented feature set with relationships visible in the sampled routing, settings, context processor, and view excerpts. The views excerpt is partial, so some feature-to-view connections are documented rather than verified in full source.

Main entry points: [`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) (App routes), [`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) (Checkout initiation), [`BOOK STORE (DebSu Lit)/book_store/book_store/settings.py`](https://github.com/itssubhojit/debsu-lit_book-store_group-project/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/book_store/settings.py) (Runtime settings), [`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) (Store domain models)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_storefront["Storefront"]
  node_catalog["Catalog discovery<br/>[views.py]"]
  node_bookdetails["Book details<br/>[views.py]"]
  node_categories["Categories and cart badge"]
end

subgraph group_commerce["Commerce"]
  node_cart["Shopping cart<br/>[views.py]"]
  node_checkout["Checkout initiation<br/>[views.py]"]
  node_paymentverify["Payment verification<br/>[views.py]"]
  node_orders["Order history<br/>[views.py]"]
  node_razorpay["Razorpay"]
end

subgraph group_accounts["Accounts and portals"]
  node_auth["Authentication and profile<br/>[views.py]"]
  node_accountforms["Account and student forms<br/>[forms.py]"]
  node_studentportal["Student registration portal<br/>[views.py]"]
  node_admin["Store administration<br/>[admin.py]"]
end

subgraph group_platform["Application platform"]
  node_routes["App routes<br/>[urls.py]"]
  node_domainmodels["Store domain models<br/>[models.py]"]
  node_database[("Configured database")]
  node_django["Django URL dispatcher"]
  node_projecturls["Project URL configuration<br/>[urls.py]"]
  node_settings["Runtime settings<br/>[settings.py]"]
  node_cloudinary["Cloudinary media storage"]
end

node_customer(("Customer"))

node_customer -->|"requests pages"| node_routes
node_routes -->|"routes to"| node_catalog
node_routes -->|"routes to"| node_bookdetails
node_routes -->|"routes to"| node_cart
node_routes -->|"routes to"| node_checkout
node_routes -->|"routes to"| node_paymentverify
node_routes -->|"routes to"| node_orders
node_routes -->|"routes to"| node_auth
node_routes -->|"routes to"| node_studentportal
node_bookdetails -.->|"adds selections"| node_cart
node_bookdetails -.->|"buy now"| node_checkout
node_cart -.->|"submits checkout"| node_checkout
node_checkout -->|"creates payment"| node_razorpay
node_paymentverify -->|"verifies signature"| node_razorpay
node_checkout -.->|"records purchase"| node_orders
node_customer -->|"signs in or manages profile"| node_auth
node_accountforms -->|"validates model data"| node_domainmodels
node_studentportal -->|"uses student form"| node_accountforms
node_categories -->|"queries categories and cart"| node_domainmodels
node_settings -->|"registers context processor"| node_categories
node_projecturls -->|"includes app routes"| node_routes
node_django -->|"dispatches requests"| node_projecturls
node_domainmodels -.->|"persists records"| node_database
node_settings -->|"configures database"| node_database
node_settings -->|"configures media storage"| node_cloudinary

click node_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_catalog "https://github.com/itssubhojit/debsu-lit_book-store_group-project/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py"
click node_bookdetails "https://github.com/itssubhojit/debsu-lit_book-store_group-project/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py"
click node_categories "https://github.com/itssubhojit/debsu-lit_book-store_group-project/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/context_processors.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_paymentverify "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_auth "https://github.com/itssubhojit/debsu-lit_book-store_group-project/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py"
click node_accountforms "https://github.com/itssubhojit/debsu-lit_book-store_group-project/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/forms.py"
click node_studentportal "https://github.com/itssubhojit/debsu-lit_book-store_group-project/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/views.py"
click node_admin "https://github.com/itssubhojit/debsu-lit_book-store_group-project/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/admin.py"
click node_domainmodels "https://github.com/itssubhojit/debsu-lit_book-store_group-project/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/models.py"
click node_projecturls "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_settings "https://github.com/itssubhojit/debsu-lit_book-store_group-project/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/book_store/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_catalog,node_bookdetails,node_categories toneBlue
class node_cart,node_checkout,node_paymentverify,node_orders,node_razorpay toneAmber
class node_auth,node_accountforms,node_studentportal,node_admin toneMint
class node_routes,node_domainmodels,node_database,node_django,node_projecturls,node_settings,node_cloudinary toneRose
class node_customer toneIndigo
```

## Components

### Storefront

- [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`
- [Categories and cart badge](https://github.com/itssubhojit/debsu-lit_book-store_group-project/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/myapp/context_processors.py): `BOOK STORE (DebSu Lit)/book_store/myapp/context_processors.py`

### Commerce

- [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`
- [Checkout initiation](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 verification](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 portals

- [Authentication and profile](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 and student 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 registration portal](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`
- [Store administration](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`

### Application platform

- [App 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`
- [Store 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`
- **Configured database**
- **Django URL dispatcher**
- [Project URL configuration](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`
- [Runtime settings](https://github.com/itssubhojit/debsu-lit_book-store_group-project/blob/main/BOOK%20STORE%20(DebSu%20Lit)/book_store/book_store/settings.py): `BOOK STORE (DebSu Lit)/book_store/book_store/settings.py`
- **Cloudinary media storage**

### Other components

- **Customer**

## Connections

- Customer → App routes: requests pages (evidence: `README.md`)
- App routes → Catalog discovery: routes to (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/urls.py`)
- App routes → Book details: routes to (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/urls.py`)
- App routes → Shopping cart: routes to (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/urls.py`)
- App routes → Checkout initiation: routes to (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/urls.py`)
- App routes → Payment verification: routes to (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/urls.py`)
- App routes → Order history: routes to (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/urls.py`)
- App routes → Authentication and profile: routes to (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/urls.py`)
- App routes → Student registration portal: routes to (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/urls.py`)
- Book details → Shopping cart: adds selections (evidence: `README.md`)
- Book details → Checkout initiation: buy now (evidence: `README.md`)
- Shopping cart → Checkout initiation: submits checkout (evidence: `README.md`)
- Checkout initiation → Razorpay: creates payment (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Payment verification → Razorpay: verifies signature (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/views.py`)
- Checkout initiation → Order history: records purchase (evidence: `README.md`)
- Customer → Authentication and profile: signs in or manages profile (evidence: `README.md`)
- Account and student forms → Store domain models: validates model data (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/forms.py`)
- Student registration portal → Account and student forms: uses student form (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/forms.py`)
- Categories and cart badge → Store domain models: queries categories and cart (evidence: `BOOK STORE (DebSu Lit)/book_store/myapp/context_processors.py`)
- Runtime settings → Categories and cart badge: registers context processor (evidence: `BOOK STORE (DebSu Lit)/book_store/book_store/settings.py`)
- Project URL configuration → App routes: includes app routes (evidence: `BOOK STORE (DebSu Lit)/book_store/book_store/urls.py`)
- Django URL dispatcher → Project URL configuration: dispatches requests (evidence: `BOOK STORE (DebSu Lit)/book_store/book_store/urls.py`)
- Store domain models → Configured database: persists records (evidence: `README.md`)
- Runtime settings → Configured database: configures database (evidence: `BOOK STORE (DebSu Lit)/book_store/book_store/settings.py`)
- Runtime settings → Cloudinary media storage: configures media storage (evidence: `BOOK STORE (DebSu Lit)/book_store/book_store/settings.py`)
