# murari123-byte/your-taste architecture

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

- Interactive diagram: https://gitdiagram.com/murari123-byte/your-taste
- Repository: https://github.com/murari123-byte/your-taste

## Overview

Meal Buddy is a Django food-delivery application. A customer signs up or signs in, browses restaurants and menus, adds items to a cart, and proceeds to checkout; the checkout view creates a Razorpay order, while the orders page displays the cart contents and clears the cart. Admin-facing views manage restaurants and menu items. The excerpts show the main routes, views, data models, and payment integration; other template behavior is not inspected.

Main entry points: [`delivery/views.py`](https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py) (Request views), [`meal_buddy/urls.py`](https://github.com/murari123-byte/your-taste/blob/main/meal_buddy/urls.py) (Project routes), [`delivery/urls.py`](https://github.com/murari123-byte/your-taste/blob/main/delivery/urls.py) (Delivery routes), [`meal_buddy/settings.py`](https://github.com/murari123-byte/your-taste/blob/main/meal_buddy/settings.py) (App settings)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web routing"]
  node_project_routes["Project routes<br/>[urls.py]"]
  node_app_routes["Delivery routes<br/>[urls.py]"]
end

subgraph group_flows["Customer and admin flows"]
  node_views["Request views<br/>[views.py]"]
  node_auth["Account access<br/>[views.py]"]
  node_restaurant_admin["Restaurant management<br/>[views.py]"]
  node_menu_admin["Menu management<br/>[views.py]"]
  node_restaurant_browse["Restaurant browsing<br/>[views.py]"]
  node_menu_browse["Menu browsing<br/>[views.py]"]
  node_cart_flow["Cart management<br/>[views.py]"]
  node_checkout_flow["Checkout<br/>[views.py]"]
  node_orders_flow["Orders display<br/>[views.py]"]
end

subgraph group_data["Application data"]
  node_models["Domain models<br/>[models.py]"]
  node_database[("SQLite database<br/>[db.sqlite3]")]
  node_settings["App settings<br/>[settings.py]"]
end

subgraph group_presentation["User interface"]
  node_templates["Page templates"]
end

node_customer(("Customer"))
node_razorpay["Razorpay"]

node_customer -->|"sends requests"| node_project_routes
node_project_routes -->|"includes routes"| node_app_routes
node_app_routes -->|"dispatches to"| node_views
node_views -->|"handles"| node_auth
node_views -->|"handles"| node_restaurant_admin
node_views -->|"handles"| node_menu_admin
node_views -->|"handles"| node_restaurant_browse
node_views -->|"handles"| node_menu_browse
node_views -->|"handles"| node_cart_flow
node_views -->|"handles"| node_checkout_flow
node_views -->|"handles"| node_orders_flow
node_views -->|"reads and writes"| node_models
node_views -->|"renders"| node_templates
node_settings -->|"configures"| node_database
node_checkout_flow -->|"creates order"| node_razorpay

click node_project_routes "https://github.com/murari123-byte/your-taste/blob/main/meal_buddy/urls.py"
click node_app_routes "https://github.com/murari123-byte/your-taste/blob/main/delivery/urls.py"
click node_views "https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py"
click node_auth "https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py"
click node_restaurant_admin "https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py"
click node_menu_admin "https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py"
click node_restaurant_browse "https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py"
click node_menu_browse "https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py"
click node_cart_flow "https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py"
click node_checkout_flow "https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py"
click node_orders_flow "https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py"
click node_models "https://github.com/murari123-byte/your-taste/blob/main/delivery/models.py"
click node_database "https://github.com/murari123-byte/your-taste/blob/main/db.sqlite3"
click node_settings "https://github.com/murari123-byte/your-taste/blob/main/meal_buddy/settings.py"
click node_templates "https://github.com/murari123-byte/your-taste/tree/main/delivery/templates/delivery"

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_project_routes,node_app_routes toneBlue
class node_views,node_auth,node_restaurant_admin,node_menu_admin,node_restaurant_browse,node_menu_browse,node_cart_flow,node_checkout_flow,node_orders_flow toneAmber
class node_models,node_database,node_settings toneMint
class node_templates toneRose
class node_customer,node_razorpay toneIndigo
```

## Components

### Web routing

- [Project routes](https://github.com/murari123-byte/your-taste/blob/main/meal_buddy/urls.py): `meal_buddy/urls.py`
- [Delivery routes](https://github.com/murari123-byte/your-taste/blob/main/delivery/urls.py): `delivery/urls.py`

### Customer and admin flows

- [Request views](https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py): `delivery/views.py`
- [Account access](https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py): `delivery/views.py`
- [Restaurant management](https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py): `delivery/views.py`
- [Menu management](https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py): `delivery/views.py`
- [Restaurant browsing](https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py): `delivery/views.py`
- [Menu browsing](https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py): `delivery/views.py`
- [Cart management](https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py): `delivery/views.py`
- [Checkout](https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py): `delivery/views.py`
- [Orders display](https://github.com/murari123-byte/your-taste/blob/main/delivery/views.py): `delivery/views.py`

### Application data

- [Domain models](https://github.com/murari123-byte/your-taste/blob/main/delivery/models.py): `delivery/models.py`
- [SQLite database](https://github.com/murari123-byte/your-taste/blob/main/db.sqlite3): `db.sqlite3`
- [App settings](https://github.com/murari123-byte/your-taste/blob/main/meal_buddy/settings.py): `meal_buddy/settings.py`

### User interface

- [Page templates](https://github.com/murari123-byte/your-taste/tree/main/delivery/templates/delivery): `delivery/templates/delivery`

### Other components

- **Customer**
- **Razorpay**

## Connections

- Customer → Project routes: sends requests (evidence: `meal_buddy/urls.py`)
- Project routes → Delivery routes: includes routes (evidence: `meal_buddy/urls.py`)
- Delivery routes → Request views: dispatches to (evidence: `delivery/urls.py`)
- Request views → Account access: handles (evidence: `delivery/views.py`)
- Request views → Restaurant management: handles (evidence: `delivery/views.py`)
- Request views → Menu management: handles (evidence: `delivery/views.py`)
- Request views → Restaurant browsing: handles (evidence: `delivery/views.py`)
- Request views → Menu browsing: handles (evidence: `delivery/views.py`)
- Request views → Cart management: handles (evidence: `delivery/views.py`)
- Request views → Checkout: handles (evidence: `delivery/views.py`)
- Request views → Orders display: handles (evidence: `delivery/views.py`)
- Request views → Domain models: reads and writes (evidence: `delivery/views.py`)
- Request views → Page templates: renders (evidence: `delivery/views.py`)
- App settings → SQLite database: configures (evidence: `meal_buddy/settings.py`)
- Checkout → Razorpay: creates order (evidence: `delivery/views.py`)
