# arifshekhk8/rc-property-website architecture

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

- Interactive diagram: https://gitdiagram.com/arifshekhk8/rc-property-website
- Repository: https://github.com/arifshekhk8/rc-property-website

## Overview

RC Property Website is a bilingual Django catalogue for two land listings, with public browsing and a protected staff administration area. The visitor workflow is routed through the site views: browse published projects, inspect details and media, then validate a demo inquiry; submissions are not stored or sent. Staff can edit project, image, and FAQ records, with publication permissions. The README also describes AI assistance as planned, not live. Edges reflect shown routing and calls; unsampled template and settings wiring is omitted.

Main entry points: [`app/website/views.py`](https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/views.py) (Page and inquiry views), [`app/projects/models.py`](https://github.com/arifshekhk8/rc-property-website/blob/main/app/projects/models.py) (Projects and media), [`app/config/urls.py`](https://github.com/arifshekhk8/rc-property-website/blob/main/app/config/urls.py) (URL routing), [`app/projects/admin.py`](https://github.com/arifshekhk8/rc-property-website/blob/main/app/projects/admin.py) (Staff editor)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["Public experience"]
  node_siteviews["Page and inquiry views<br/>[views.py]"]
  node_projectpages["Project and gallery pages<br/>[views.py]"]
  node_visit["Virtual visit<br/>[views.py]"]
  node_inquiryform["Inquiry validation<br/>[forms.py]"]
  node_receipt["Demo receipt<br/>[views.py]"]
  node_copy["Bilingual copy<br/>[copy.py]"]
  node_context["Language context<br/>[context.py]"]
  node_ai["Future AI assistant"]
end

subgraph group_content["Listing content"]
  node_projectdata[("Projects and media<br/>[models.py]")]
  node_imageview["Image access<br/>[views.py]"]
  node_faq[("FAQ records<br/>[models.py]")]
  node_staticmedia["Sample media"]
end

subgraph group_staff["Staff management"]
  node_staff["Staff editor<br/>[admin.py]"]
end

subgraph group_platform["Django platform"]
  node_routes["URL routing<br/>[urls.py]"]
  node_siteurls["Public routes<br/>[urls.py]"]
  node_auth["Staff authentication<br/>[urls.py]"]
  node_database[("Application database<br/>[models.py]")]
end

node_visitor(("Visitor"))

node_visitor -->|"requests pages"| node_routes
node_routes -->|"routes localized pages"| node_siteurls
node_siteurls -->|"dispatches requests"| node_siteviews
node_siteviews -->|"queries listings"| node_projectdata
node_siteviews -->|"validates submissions"| node_inquiryform
node_siteviews -->|"renders demo result"| node_receipt
node_siteviews -->|"renders pages"| node_projectpages
node_siteviews -->|"renders selected media"| node_visit
node_inquiryform -->|"limits project choices"| node_projectdata
node_context -->|"queries guide listings"| node_projectdata
node_context -->|"selects translations"| node_copy
node_routes -->|"routes image requests"| node_imageview
node_imageview -->|"checks image access"| node_projectdata
node_staff -->|"edits listings and images"| node_projectdata
node_staff -->|"edits FAQs"| node_faq
node_auth -.->|"protects administration"| node_staff
node_projectdata -.->|"stores records"| node_database
node_ai -.->|"planned assistance"| node_visitor
node_visit -.->|"uses sample media"| node_staticmedia

click node_routes "https://github.com/arifshekhk8/rc-property-website/blob/main/app/config/urls.py"
click node_siteurls "https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/urls.py"
click node_siteviews "https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/views.py"
click node_projectdata "https://github.com/arifshekhk8/rc-property-website/blob/main/app/projects/models.py"
click node_projectpages "https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/views.py"
click node_visit "https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/views.py"
click node_inquiryform "https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/forms.py"
click node_receipt "https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/views.py"
click node_copy "https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/copy.py"
click node_context "https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/context.py"
click node_imageview "https://github.com/arifshekhk8/rc-property-website/blob/main/app/projects/views.py"
click node_staff "https://github.com/arifshekhk8/rc-property-website/blob/main/app/projects/admin.py"
click node_faq "https://github.com/arifshekhk8/rc-property-website/blob/main/app/projects/models.py"
click node_auth "https://github.com/arifshekhk8/rc-property-website/blob/main/app/config/urls.py"
click node_database "https://github.com/arifshekhk8/rc-property-website/blob/main/app/projects/models.py"
click node_staticmedia "https://github.com/arifshekhk8/rc-property-website/tree/main/app/static/images"

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_siteviews,node_projectpages,node_visit,node_inquiryform,node_receipt,node_copy,node_context,node_ai toneBlue
class node_projectdata,node_imageview,node_faq,node_staticmedia toneAmber
class node_staff toneMint
class node_routes,node_siteurls,node_auth,node_database toneRose
class node_visitor toneIndigo
```

## Components

### Public experience

- [Page and inquiry views](https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/views.py): `app/website/views.py`
- [Project and gallery pages](https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/views.py): `app/website/views.py`
- [Virtual visit](https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/views.py): `app/website/views.py`
- [Inquiry validation](https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/forms.py): `app/website/forms.py`
- [Demo receipt](https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/views.py): `app/website/views.py`
- [Bilingual copy](https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/copy.py): `app/website/copy.py`
- [Language context](https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/context.py): `app/website/context.py`
- **Future AI assistant**

### Listing content

- [Projects and media](https://github.com/arifshekhk8/rc-property-website/blob/main/app/projects/models.py): `app/projects/models.py`
- [Image access](https://github.com/arifshekhk8/rc-property-website/blob/main/app/projects/views.py): `app/projects/views.py`
- [FAQ records](https://github.com/arifshekhk8/rc-property-website/blob/main/app/projects/models.py): `app/projects/models.py`
- [Sample media](https://github.com/arifshekhk8/rc-property-website/tree/main/app/static/images): `app/static/images`

### Staff management

- [Staff editor](https://github.com/arifshekhk8/rc-property-website/blob/main/app/projects/admin.py): `app/projects/admin.py`

### Django platform

- [URL routing](https://github.com/arifshekhk8/rc-property-website/blob/main/app/config/urls.py): `app/config/urls.py`
- [Public routes](https://github.com/arifshekhk8/rc-property-website/blob/main/app/website/urls.py): `app/website/urls.py`
- [Staff authentication](https://github.com/arifshekhk8/rc-property-website/blob/main/app/config/urls.py): `app/config/urls.py`
- [Application database](https://github.com/arifshekhk8/rc-property-website/blob/main/app/projects/models.py): `app/projects/models.py`

### Other components

- **Visitor**

## Connections

- Visitor → URL routing: requests pages (evidence: `app/config/urls.py`)
- URL routing → Public routes: routes localized pages (evidence: `app/config/urls.py`)
- Public routes → Page and inquiry views: dispatches requests (evidence: `app/website/urls.py`)
- Page and inquiry views → Projects and media: queries listings (evidence: `app/website/views.py`)
- Page and inquiry views → Inquiry validation: validates submissions (evidence: `app/website/views.py`)
- Page and inquiry views → Demo receipt: renders demo result (evidence: `app/website/views.py`)
- Page and inquiry views → Project and gallery pages: renders pages (evidence: `app/website/views.py`)
- Page and inquiry views → Virtual visit: renders selected media (evidence: `app/website/views.py`)
- Inquiry validation → Projects and media: limits project choices (evidence: `app/website/forms.py`)
- Language context → Projects and media: queries guide listings (evidence: `app/website/context.py`)
- Language context → Bilingual copy: selects translations (evidence: `app/website/context.py`)
- URL routing → Image access: routes image requests (evidence: `app/config/urls.py`)
- Image access → Projects and media: checks image access (evidence: `app/projects/views.py`)
- Staff editor → Projects and media: edits listings and images (evidence: `app/projects/admin.py`)
- Staff editor → FAQ records: edits FAQs (evidence: `app/projects/admin.py`)
- Staff authentication → Staff editor: protects administration
- Projects and media → Application database: stores records (evidence: `app/projects/models.py`)
- Future AI assistant → Visitor: planned assistance (evidence: `README.md`)
- Virtual visit → Sample media: uses sample media (evidence: `README.md`)
