# coderpranesh/cherry-gold-interiors architecture

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

- Interactive diagram: https://gitdiagram.com/coderpranesh/cherry-gold-interiors
- Repository: https://github.com/coderpranesh/cherry-gold-interiors

## Overview

Cherry Gold Interiors is an interior-design services website with a Django REST backend. Visitors browse services, projects, catalogue, offers and design tools; they can register, verify accounts, request services, track projects and use referral features. The frontend route table is explicit, while sampled backend code supports account/referral and service-request behavior. Major unsampled capabilities remain represented as components, but their internal connections are not inferred. The empty README provides no additional workflow evidence.

Main entry points: [`frontend/src/App.jsx`](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/App.jsx) (Application routes), [`frontend/src/api/authAPI.js`](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/api/authAPI.js) (Account API), [`backend/accounts/views.py`](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/accounts/views.py) (Account endpoints), [`backend/referral/views.py`](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/referral/views.py) (Referral management)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Website experience"]
  node_app["Application routes<br/>[App.jsx]"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
  node_axios["HTTP client<br/>[axiosInstance.js]"]
  node_chatbot["Website chatbot<br/>[Chatbot.jsx]"]
  node_chatdata[("Chatbot records<br/>[models.py]")]
end

subgraph group_identity["Accounts and referrals"]
  node_registration["Registration<br/>[Register.jsx]"]
  node_login["Sign-in<br/>[Login.jsx]"]
  node_verification["Email verification<br/>[VerifyOTP.jsx]"]
  node_authapi["Account API<br/>[authAPI.js]"]
  node_accountviews["Account endpoints<br/>[views.py]"]
  node_accountserializers["Account validation<br/>[serializers.py]"]
  node_accountdata[("User and account data<br/>[models.py]")]
  node_referrals["Referral management<br/>[views.py]"]
  node_referraldata[("Referral records<br/>[models.py]")]
  node_referraldashboard["Referral dashboard"]
end

subgraph group_delivery["Service delivery"]
  node_servicespage["Service requests<br/>[Services.jsx]"]
  node_servicesapi["Services API<br/>[servicesAPI.js]"]
  node_serviceviews["Service endpoints<br/>[views.py]"]
  node_servicedata[("Service request data<br/>[models.py]")]
  node_projects["Project tracking"]
  node_projectbackend[("Project management<br/>[models.py]")]
  node_estimator["Cost estimator<br/>[CostEstimator.jsx]"]
  node_quote[("Quote estimation<br/>[models.py]")]
end

subgraph group_content["Content and design"]
  node_catalogue["Product catalogue<br/>[Catalogue.jsx]"]
  node_cataloguedata[("Catalogue records<br/>[models.py]")]
  node_portfolio["Project portfolio<br/>[Portfolio.jsx]"]
  node_portfoliodata[("Portfolio records<br/>[models.py]")]
  node_blog["Blog pages<br/>[BlogPage.jsx]"]
  node_blogdata[("Blog records<br/>[models.py]")]
  node_offers["Offers<br/>[Offers.jsx]"]
  node_kitchen["Kitchen designer"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"routes"| node_registration
node_app -->|"routes"| node_login
node_app -->|"routes"| node_verification
node_app -->|"routes"| node_referraldashboard
node_app -->|"routes"| node_servicespage
node_app -->|"routes"| node_projects
node_app -->|"routes"| node_estimator
node_app -->|"routes"| node_catalogue
node_app -->|"routes"| node_portfolio
node_app -->|"routes"| node_blog
node_app -->|"routes"| node_offers
node_app -->|"routes"| node_kitchen
node_app -->|"renders"| node_chatbot
node_registration -.->|"uses"| node_authapi
node_login -.->|"uses"| node_authapi
node_authapi -->|"sends requests"| node_axios
node_servicespage -.->|"submits request"| node_serviceviews
node_servicesapi -->|"sends requests"| node_axios
node_serviceviews -->|"reads and writes"| node_servicedata
node_accountviews -->|"validates with"| node_accountserializers
node_accountserializers -->|"reads and writes"| node_accountdata
node_accountviews -->|"reads and writes"| node_accountdata
node_referrals -->|"reads and writes"| node_referraldata
node_referrals -.->|"serves data"| node_referraldashboard
node_projectbackend -->|"references"| node_servicedata
node_catalogue -.->|"loads data"| node_cataloguedata
node_portfolio -.->|"loads data"| node_portfoliodata
node_blog -.->|"loads data"| node_blogdata
node_estimator -.->|"requests estimates"| node_quote
node_chatbot -.->|"uses records"| node_chatdata

click node_app "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/App.jsx"
click node_navbar "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Components/Navbar.jsx"
click node_registration "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/Register.jsx"
click node_login "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/Login.jsx"
click node_verification "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/VerifyOTP.jsx"
click node_authapi "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/api/authAPI.js"
click node_axios "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/api/axiosInstance.js"
click node_accountviews "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/accounts/views.py"
click node_accountserializers "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/accounts/serializers.py"
click node_accountdata "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/accounts/models.py"
click node_referrals "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/referral/views.py"
click node_referraldata "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/referral/models.py"
click node_referraldashboard "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/ReferralDashboard.jsx"
click node_servicespage "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/Services.jsx"
click node_servicesapi "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/api/servicesAPI.js"
click node_serviceviews "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/services/views.py"
click node_servicedata "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/services/models.py"
click node_projects "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/ProjectTracking.jsx"
click node_projectbackend "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/projects/models.py"
click node_estimator "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/CostEstimator.jsx"
click node_quote "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/quote/models.py"
click node_catalogue "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/Catalogue.jsx"
click node_cataloguedata "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/catalogue/models.py"
click node_portfolio "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/Portfolio.jsx"
click node_portfoliodata "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/portfolio/models.py"
click node_blog "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/BlogPage.jsx"
click node_blogdata "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/blog/models.py"
click node_offers "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/Offers.jsx"
click node_kitchen "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/KitchenDesigner.jsx"
click node_chatbot "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Components/Chatbot.jsx"
click node_chatdata "https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/chatbot/models.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_app,node_navbar,node_axios,node_chatbot,node_chatdata toneBlue
class node_registration,node_login,node_verification,node_authapi,node_accountviews,node_accountserializers,node_accountdata,node_referrals,node_referraldata,node_referraldashboard toneAmber
class node_servicespage,node_servicesapi,node_serviceviews,node_servicedata,node_projects,node_projectbackend,node_estimator,node_quote toneMint
class node_catalogue,node_cataloguedata,node_portfolio,node_portfoliodata,node_blog,node_blogdata,node_offers,node_kitchen toneRose
class node_visitor toneIndigo
```

## Components

### Website experience

- [Application routes](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Navigation](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Components/Navbar.jsx): `frontend/src/Components/Navbar.jsx`
- [HTTP client](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/api/axiosInstance.js): `frontend/src/api/axiosInstance.js`
- [Website chatbot](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Components/Chatbot.jsx): `frontend/src/Components/Chatbot.jsx`
- [Chatbot records](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/chatbot/models.py): `backend/chatbot/models.py`

### Accounts and referrals

- [Registration](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/Register.jsx): `frontend/src/Pages/Register.jsx`
- [Sign-in](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/Login.jsx): `frontend/src/Pages/Login.jsx`
- [Email verification](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/VerifyOTP.jsx): `frontend/src/Pages/VerifyOTP.jsx`
- [Account API](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/api/authAPI.js): `frontend/src/api/authAPI.js`
- [Account endpoints](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/accounts/views.py): `backend/accounts/views.py`
- [Account validation](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/accounts/serializers.py): `backend/accounts/serializers.py`
- [User and account data](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/accounts/models.py): `backend/accounts/models.py`
- [Referral management](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/referral/views.py): `backend/referral/views.py`
- [Referral records](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/referral/models.py): `backend/referral/models.py`
- [Referral dashboard](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/ReferralDashboard.jsx): `frontend/src/Pages/ReferralDashboard.jsx`

### Service delivery

- [Service requests](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/Services.jsx): `frontend/src/Pages/Services.jsx`
- [Services API](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/api/servicesAPI.js): `frontend/src/api/servicesAPI.js`
- [Service endpoints](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/services/views.py): `backend/services/views.py`
- [Service request data](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/services/models.py): `backend/services/models.py`
- [Project tracking](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/ProjectTracking.jsx): `frontend/src/Pages/ProjectTracking.jsx`
- [Project management](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/projects/models.py): `backend/projects/models.py`
- [Cost estimator](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/CostEstimator.jsx): `frontend/src/Pages/CostEstimator.jsx`
- [Quote estimation](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/quote/models.py): `backend/quote/models.py`

### Content and design

- [Product catalogue](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/Catalogue.jsx): `frontend/src/Pages/Catalogue.jsx`
- [Catalogue records](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/catalogue/models.py): `backend/catalogue/models.py`
- [Project portfolio](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/Portfolio.jsx): `frontend/src/Pages/Portfolio.jsx`
- [Portfolio records](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/portfolio/models.py): `backend/portfolio/models.py`
- [Blog pages](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/BlogPage.jsx): `frontend/src/Pages/BlogPage.jsx`
- [Blog records](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/backend/blog/models.py): `backend/blog/models.py`
- [Offers](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/Offers.jsx): `frontend/src/Pages/Offers.jsx`
- [Kitchen designer](https://github.com/coderpranesh/cherry-gold-interiors/blob/main/frontend/src/Pages/KitchenDesigner.jsx): `frontend/src/Pages/KitchenDesigner.jsx`

### Other components

- **Visitor**

## Connections

- Visitor → Application routes: opens
- Application routes → Navigation: renders (evidence: `frontend/src/App.jsx`)
- Application routes → Registration: routes (evidence: `frontend/src/App.jsx`)
- Application routes → Sign-in: routes (evidence: `frontend/src/App.jsx`)
- Application routes → Email verification: routes (evidence: `frontend/src/App.jsx`)
- Application routes → Referral dashboard: routes (evidence: `frontend/src/App.jsx`)
- Application routes → Service requests: routes (evidence: `frontend/src/App.jsx`)
- Application routes → Project tracking: routes (evidence: `frontend/src/App.jsx`)
- Application routes → Cost estimator: routes (evidence: `frontend/src/App.jsx`)
- Application routes → Product catalogue: routes (evidence: `frontend/src/App.jsx`)
- Application routes → Project portfolio: routes (evidence: `frontend/src/App.jsx`)
- Application routes → Blog pages: routes (evidence: `frontend/src/App.jsx`)
- Application routes → Offers: routes (evidence: `frontend/src/App.jsx`)
- Application routes → Kitchen designer: routes (evidence: `frontend/src/App.jsx`)
- Application routes → Website chatbot: renders (evidence: `frontend/src/App.jsx`)
- Registration → Account API: uses
- Sign-in → Account API: uses
- Account API → HTTP client: sends requests (evidence: `frontend/src/api/authAPI.js`)
- Service requests → Service endpoints: submits request
- Services API → HTTP client: sends requests (evidence: `frontend/src/api/servicesAPI.js`)
- Service endpoints → Service request data: reads and writes
- Account endpoints → Account validation: validates with (evidence: `backend/accounts/views.py`)
- Account validation → User and account data: reads and writes (evidence: `backend/accounts/serializers.py`)
- Account endpoints → User and account data: reads and writes (evidence: `backend/accounts/views.py`)
- Referral management → Referral records: reads and writes (evidence: `backend/referral/views.py`)
- Referral management → Referral dashboard: serves data
- Project management → Service request data: references (evidence: `backend/projects/models.py`)
- Product catalogue → Catalogue records: loads data
- Project portfolio → Portfolio records: loads data
- Blog pages → Blog records: loads data
- Cost estimator → Quote estimation: requests estimates
- Website chatbot → Chatbot records: uses records
