# anushadev85/property_renting_and_selling architecture

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

- Interactive diagram: https://gitdiagram.com/anushadev85/property_renting_and_selling
- Repository: https://github.com/anushadev85/property_renting_and_selling

## Overview

Home Fusion is a Django property-listing and booking application with administrator, owner, and user workflows. Users can browse properties and submit ratings, reviews, and complaints; owners manage listings and property status, while administrators approve owners and handle complaints. Chat is also represented in the sampled views. The principal runtime entry is Django’s request handling through the app views, with persistent domain state in Django models and MySQL configured in settings. The README is empty and the view excerpts are partial, so unsampled capabilities and wiring are not inferred.

Main entry points: [`myapp/views.py`](https://github.com/anushadev85/property_renting_and_selling/blob/main/myapp/views.py) (Request handlers), [`myapp/models.py`](https://github.com/anushadev85/property_renting_and_selling/blob/main/myapp/models.py) (Domain models), [`myapp/urls.py`](https://github.com/anushadev85/property_renting_and_selling/blob/main/myapp/urls.py) (App routes), [`home_fusion/urls.py`](https://github.com/anushadev85/property_renting_and_selling/blob/main/home_fusion/urls.py) (Project routes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web application"]
  node_routes["App routes<br/>[urls.py]"]
  node_views["Request handlers<br/>[views.py]"]
  node_project_routes["Project routes<br/>[urls.py]"]
end

subgraph group_domain["Property domain"]
  node_models["Domain models<br/>[models.py]"]
end

subgraph group_ops["Platform operations"]
  node_settings["Django settings<br/>[settings.py]"]
  node_mysql[("MySQL database")]
end

node_visitor(("Browser user"))
node_admin(("Administrator"))
node_owner(("Property owner"))
node_user(("Property user"))

node_visitor -->|"sends requests"| node_project_routes
node_project_routes -->|"routes requests"| node_routes
node_routes -->|"dispatches"| node_views
node_views -->|"reads and writes"| node_models
node_settings -->|"configures database"| node_mysql
node_admin -->|"manages owners"| node_views
node_admin -->|"handles complaints"| node_views
node_owner -->|"manages listings"| node_views
node_user -->|"uses property services"| node_views
node_views -->|"records bookings and reviews"| node_models
node_views -->|"records complaints and chat"| node_models

click node_routes "https://github.com/anushadev85/property_renting_and_selling/blob/main/myapp/urls.py"
click node_views "https://github.com/anushadev85/property_renting_and_selling/blob/main/myapp/views.py"
click node_project_routes "https://github.com/anushadev85/property_renting_and_selling/blob/main/home_fusion/urls.py"
click node_settings "https://github.com/anushadev85/property_renting_and_selling/blob/main/home_fusion/settings.py"
click node_models "https://github.com/anushadev85/property_renting_and_selling/blob/main/myapp/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_routes,node_views,node_project_routes,node_visitor,node_user toneBlue
class node_models toneAmber
class node_settings,node_mysql toneMint
class node_admin,node_owner toneIndigo
```

## Components

### Web application

- [App routes](https://github.com/anushadev85/property_renting_and_selling/blob/main/myapp/urls.py): `myapp/urls.py`
- [Request handlers](https://github.com/anushadev85/property_renting_and_selling/blob/main/myapp/views.py): `myapp/views.py`
- [Project routes](https://github.com/anushadev85/property_renting_and_selling/blob/main/home_fusion/urls.py): `home_fusion/urls.py`

### Property domain

- [Domain models](https://github.com/anushadev85/property_renting_and_selling/blob/main/myapp/models.py): `myapp/models.py`

### Platform operations

- [Django settings](https://github.com/anushadev85/property_renting_and_selling/blob/main/home_fusion/settings.py): `home_fusion/settings.py`
- **MySQL database**

### Other components

- **Browser user**
- **Administrator**
- **Property owner**
- **Property user**

## Connections

- Browser user → Project routes: sends requests
- Project routes → App routes: routes requests
- App routes → Request handlers: dispatches
- Request handlers → Domain models: reads and writes
- Django settings → MySQL database: configures database
- Administrator → Request handlers: manages owners
- Administrator → Request handlers: handles complaints
- Property owner → Request handlers: manages listings
- Property user → Request handlers: uses property services
- Request handlers → Domain models: records bookings and reviews
- Request handlers → Domain models: records complaints and chat
