# shahed-chy-suzan/property-listing architecture

> Architecture diagram of the GitHub repository shahed-chy-suzan/property-listing, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shahed-chy-suzan/property-listing
- Repository: https://github.com/shahed-chy-suzan/property-listing

## Overview

Civanoglu is a Laravel property-listing application. Visitors search and view listings, with property enquiries stored and queued for email; administrators manage listings and other site content. The README also describes localization, currency conversion, and dashboard summaries. The graph uses sampled controller/model evidence and README statements; several admin, localization, and dashboard implementation details were not sampled, so their internal connections are omitted.

Main entry points: [`app/Http/Controllers/PropertyController.php`](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/PropertyController.php) (Property search), [`app/Http/Controllers/DashboardController.php`](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/DashboardController.php) (Dashboard summary), [`app/Models/Property.php`](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Models/Property.php) (Property records), [`app/Http/Controllers/Admin/PropertyController.php`](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/Admin/PropertyController.php) (Property management)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_visitor["Property discovery"]
  node_search["Property search"]
  node_search_view["Search results<br/>[index.blade.php]"]
  node_detail["Property detail<br/>[single.blade.php]"]
end

subgraph group_admin["Administration"]
  node_dashboard["Dashboard summary"]
  node_property_admin["Property management"]
  node_location_admin["Location management"]
  node_page_admin["Page management<br/>[PageController.php]"]
  node_user_admin["User management<br/>[UserController.php]"]
  node_message_admin["Enquiry management"]
end

subgraph group_identity["Accounts"]
  node_register["Registration"]
  node_auth_routes["Auth routes<br/>[auth.php]"]
end

subgraph group_runtime["Domain and messaging"]
  node_property[("Property records<br/>[Property.php]")]
  node_location[("Location records<br/>[Location.php]")]
  node_media[("Gallery media<br/>[Media.php]")]
  node_pages[("Static pages<br/>[Page.php]")]
  node_users[("User accounts<br/>[User.php]")]
  node_enquiries[("Enquiry records")]
  node_email_job["Enquiry email job"]
  node_email["Enquiry email<br/>[EnquireEmail.php]"]
end

node_visitor(("Visitor"))
node_admin_user(("Administrator"))
node_currency_api["Currency API"]

node_visitor -->|"searches"| node_search
node_search -->|"filters"| node_property
node_search -->|"loads options"| node_location
node_search -->|"renders"| node_search_view
node_visitor -->|"views listing"| node_detail
node_admin_user -->|"manages site"| node_dashboard
node_dashboard -->|"counts"| node_property
node_dashboard -->|"counts"| node_location
node_dashboard -->|"counts"| node_pages
node_dashboard -->|"counts"| node_users
node_dashboard -->|"counts"| node_enquiries
node_property_admin -->|"manages"| node_property
node_property_admin -->|"loads choices"| node_location
node_property_admin -->|"manages gallery"| node_media
node_admin_user -->|"manages locations"| node_location_admin
node_admin_user -->|"manages pages"| node_page_admin
node_admin_user -->|"manages users"| node_user_admin
node_admin_user -->|"reviews enquiries"| node_message_admin
node_register -->|"creates account"| node_users
node_auth_routes -->|"routes to"| node_register
node_visitor -->|"authenticates"| node_auth_routes
node_property -->|"requests rates"| node_currency_api
node_visitor -.->|"submits enquiry"| node_search
node_search -->|"stores enquiry"| node_enquiries
node_search -->|"dispatches email"| node_email_job
node_email_job -->|"uses mail"| node_email

click node_search "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/PropertyController.php"
click node_search_view "https://github.com/shahed-chy-suzan/property-listing/blob/master/resources/views/property/index.blade.php"
click node_detail "https://github.com/shahed-chy-suzan/property-listing/blob/master/resources/views/property/single.blade.php"
click node_dashboard "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/DashboardController.php"
click node_property_admin "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/Admin/PropertyController.php"
click node_location_admin "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/Admin/LocationController.php"
click node_page_admin "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/Admin/PageController.php"
click node_user_admin "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/Admin/UserController.php"
click node_message_admin "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/Admin/MessageController.php"
click node_register "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/Auth/RegisteredUserController.php"
click node_auth_routes "https://github.com/shahed-chy-suzan/property-listing/blob/master/routes/auth.php"
click node_property "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Models/Property.php"
click node_location "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Models/Location.php"
click node_media "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Models/Media.php"
click node_pages "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Models/Page.php"
click node_users "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Models/User.php"
click node_enquiries "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Models/PropertyEnquire.php"
click node_email_job "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Jobs/ProcessEnquireEmail.php"
click node_email "https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Mail/EnquireEmail.php"

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_search,node_search_view,node_detail toneBlue
class node_dashboard,node_property_admin,node_location_admin,node_page_admin,node_user_admin,node_message_admin toneAmber
class node_register,node_auth_routes,node_currency_api toneMint
class node_property,node_location,node_media,node_pages,node_users,node_enquiries,node_email_job,node_email toneRose
class node_visitor,node_admin_user toneIndigo
```

## Components

### Property discovery

- [Property search](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/PropertyController.php): `app/Http/Controllers/PropertyController.php`
- [Search results](https://github.com/shahed-chy-suzan/property-listing/blob/master/resources/views/property/index.blade.php): `resources/views/property/index.blade.php`
- [Property detail](https://github.com/shahed-chy-suzan/property-listing/blob/master/resources/views/property/single.blade.php): `resources/views/property/single.blade.php`

### Administration

- [Dashboard summary](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/DashboardController.php): `app/Http/Controllers/DashboardController.php`
- [Property management](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/Admin/PropertyController.php): `app/Http/Controllers/Admin/PropertyController.php`
- [Location management](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/Admin/LocationController.php): `app/Http/Controllers/Admin/LocationController.php`
- [Page management](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/Admin/PageController.php): `app/Http/Controllers/Admin/PageController.php`
- [User management](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/Admin/UserController.php): `app/Http/Controllers/Admin/UserController.php`
- [Enquiry management](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/Admin/MessageController.php): `app/Http/Controllers/Admin/MessageController.php`

### Accounts

- [Registration](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Http/Controllers/Auth/RegisteredUserController.php): `app/Http/Controllers/Auth/RegisteredUserController.php`
- [Auth routes](https://github.com/shahed-chy-suzan/property-listing/blob/master/routes/auth.php): `routes/auth.php`

### Domain and messaging

- [Property records](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Models/Property.php): `app/Models/Property.php`
- [Location records](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Models/Location.php): `app/Models/Location.php`
- [Gallery media](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Models/Media.php): `app/Models/Media.php`
- [Static pages](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Models/Page.php): `app/Models/Page.php`
- [User accounts](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Models/User.php): `app/Models/User.php`
- [Enquiry records](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Models/PropertyEnquire.php): `app/Models/PropertyEnquire.php`
- [Enquiry email job](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Jobs/ProcessEnquireEmail.php): `app/Jobs/ProcessEnquireEmail.php`
- [Enquiry email](https://github.com/shahed-chy-suzan/property-listing/blob/master/app/Mail/EnquireEmail.php): `app/Mail/EnquireEmail.php`

### Other components

- **Visitor**
- **Administrator**
- **Currency API**

## Connections

- Visitor → Property search: searches
- Property search → Property records: filters (evidence: `app/Http/Controllers/PropertyController.php`)
- Property search → Location records: loads options (evidence: `app/Http/Controllers/PropertyController.php`)
- Property search → Search results: renders (evidence: `app/Http/Controllers/PropertyController.php`)
- Visitor → Property detail: views listing
- Administrator → Dashboard summary: manages site
- Dashboard summary → Property records: counts (evidence: `app/Http/Controllers/DashboardController.php`)
- Dashboard summary → Location records: counts (evidence: `app/Http/Controllers/DashboardController.php`)
- Dashboard summary → Static pages: counts (evidence: `app/Http/Controllers/DashboardController.php`)
- Dashboard summary → User accounts: counts (evidence: `app/Http/Controllers/DashboardController.php`)
- Dashboard summary → Enquiry records: counts (evidence: `app/Http/Controllers/DashboardController.php`)
- Property management → Property records: manages (evidence: `app/Http/Controllers/Admin/PropertyController.php`)
- Property management → Location records: loads choices (evidence: `app/Http/Controllers/Admin/PropertyController.php`)
- Property management → Gallery media: manages gallery (evidence: `app/Http/Controllers/Admin/PropertyController.php`)
- Administrator → Location management: manages locations
- Administrator → Page management: manages pages
- Administrator → User management: manages users
- Administrator → Enquiry management: reviews enquiries
- Registration → User accounts: creates account (evidence: `app/Http/Controllers/Auth/RegisteredUserController.php`)
- Auth routes → Registration: routes to (evidence: `routes/auth.php`)
- Visitor → Auth routes: authenticates (evidence: `routes/auth.php`)
- Property records → Currency API: requests rates (evidence: `app/Models/Property.php`)
- Visitor → Property search: submits enquiry
- Property search → Enquiry records: stores enquiry (evidence: `app/Http/Controllers/PropertyController.php`)
- Property search → Enquiry email job: dispatches email (evidence: `app/Http/Controllers/PropertyController.php`)
- Enquiry email job → Enquiry email: uses mail (evidence: `app/Jobs/ProcessEnquireEmail.php`)
