# dilipios12/kiakia-fronted-dasboard architecture

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

- Interactive diagram: https://gitdiagram.com/dilipios12/kiakia-fronted-dasboard
- Repository: https://github.com/dilipios12/kiakia-fronted-dasboard

## Overview

KiaKia Rent is a React property marketplace for buying and renting homes, listing properties, and managing role-specific rental activity. The main visitor flow enters through the routed app, searches buy or rent listings, and can open property details or contact an advertiser. Landlords and agents can submit listings; tenants, landlords, and agents have dashboard areas. The graph emphasizes the sampled search and listing state flow. Several dashboard and detail implementations are unsampled, so their links are limited to routes visible in App.js or are omitted.

Main entry points: [`src/App.js`](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/App.js) (Routes and app), [`src/store/actions/propertyAction.js`](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/actions/propertyAction.js) (Property actions), [`src/layout/header/Header.jsx`](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/layout/header/Header.jsx) (Navigation and search), [`src/store/actions/userTypesAction.js`](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/actions/userTypesAction.js) (User actions)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App entry"]
  node_app["Routes and app<br/>[App.js]"]
  node_layout["Shared layout<br/>[Layout.jsx]"]
  node_header["Navigation and search<br/>[Header.jsx]"]
end

subgraph group_discovery["Property discovery"]
  node_buysearch["Buy search<br/>[BuySearch.jsx]"]
  node_buyfilters["Buy filters<br/>[SearchFilter.jsx]"]
  node_rentsearch["Rent search<br/>[RentSearch.jsx]"]
  node_rentfilters["Rent filters"]
  node_details["Property details"]
  node_rentdetails["Rental details"]
  node_insights["Area insights<br/>[BuyInsights.jsx]"]
  node_rentinsights["Rental insights<br/>[RentInsights.jsx]"]
  node_contact["Contact advertiser"]
end

subgraph group_listing["Property listing"]
  node_listingform["Create listing"]
  node_listingstart["Listing introduction<br/>[AddProperty.jsx]"]
end

subgraph group_accounts["Accounts and dashboards"]
  node_dashboard["Role dashboards"]
  node_login["Login<br/>[Login.jsx]"]
  node_register["Registration<br/>[Register.jsx]"]
end

subgraph group_state["Application state"]
  node_useractions["User actions<br/>[userTypesAction.js]"]
  node_propertyactions["Property actions<br/>[propertyAction.js]"]
  node_store["Redux store<br/>[Store.js]"]
  node_reducers["State reducers<br/>[index.js]"]
  node_propertyreducer["Property reducer<br/>[propertyReducer.js]"]
  node_propertytypes["Property action types<br/>[propertyTypes.js]"]
  node_usertypes["User action types<br/>[userTypes.js]"]
end

node_visitor(("Visitor"))
node_api(("Marketplace API"))

node_visitor -->|"opens"| node_app
node_app -->|"renders"| node_layout
node_layout -->|"renders"| node_header
node_app -->|"routes to"| node_buysearch
node_app -->|"routes to"| node_rentsearch
node_app -->|"routes to"| node_details
node_app -->|"routes to"| node_rentdetails
node_app -->|"routes to"| node_insights
node_app -->|"routes to"| node_rentinsights
node_app -->|"routes to"| node_dashboard
node_buysearch -->|"renders"| node_buyfilters
node_rentsearch -->|"renders"| node_rentfilters
node_buyfilters -->|"dispatches"| node_propertyactions
node_rentfilters -->|"dispatches"| node_propertyactions
node_propertyactions -->|"requests listings"| node_api
node_propertyactions -->|"dispatches types"| node_propertytypes
node_store -->|"configures"| node_reducers
node_reducers -->|"combines"| node_propertyreducer
node_propertyreducer -->|"handles types"| node_propertytypes
node_header -->|"sets search filters"| node_propertyactions
node_listingstart -.->|"continues listing"| node_listingform
node_listingform -->|"loads property data"| node_propertyactions
node_propertyactions -->|"creates listing"| node_api
node_header -->|"opens"| node_login
node_header -->|"opens"| node_register
node_login -->|"dispatches"| node_useractions
node_register -->|"dispatches"| node_useractions
node_app -->|"loads user types"| node_useractions
node_useractions -->|"dispatches types"| node_usertypes
node_buyfilters -->|"offers contact form"| node_contact
node_rentfilters -->|"offers contact form"| node_contact

click node_app "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/App.js"
click node_layout "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/layout/Layout.jsx"
click node_header "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/layout/header/Header.jsx"
click node_buysearch "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/buyPages/buySearch/BuySearch.jsx"
click node_buyfilters "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/buyPages/buySearch/SearchFilter.jsx"
click node_rentsearch "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/rentPages/rentSearch/RentSearch.jsx"
click node_rentfilters "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/rentPages/rentSearch/RentSearchFilter.jsx"
click node_details "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/buyPages/propertyDetails/PropertyDetails.jsx"
click node_rentdetails "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/rentPages/rentPropertyDetails/RentPropertyDetails.jsx"
click node_insights "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/buyPages/buyInsights/BuyInsights.jsx"
click node_rentinsights "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/rentPages/rentInsights/RentInsights.jsx"
click node_contact "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/components/contactOwnerForm/ContactOwnerForm.jsx"
click node_listingform "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/addPropertySteps/AddPropertySteps.jsx"
click node_listingstart "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/addProperty/AddProperty.jsx"
click node_dashboard "https://github.com/dilipios12/kiakia-fronted-dasboard/tree/main/src/pages/dashboard"
click node_login "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/layout/login/Login.jsx"
click node_register "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/layout/register/Register.jsx"
click node_useractions "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/actions/userTypesAction.js"
click node_propertyactions "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/actions/propertyAction.js"
click node_store "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/Store.js"
click node_reducers "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/reducers/index.js"
click node_propertyreducer "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/reducers/propertyReducer.js"
click node_propertytypes "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/types/propertyTypes.js"
click node_usertypes "https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/types/userTypes.js"

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_layout,node_header toneBlue
class node_buysearch,node_buyfilters,node_rentsearch,node_rentfilters,node_details,node_rentdetails,node_insights,node_rentinsights,node_contact toneAmber
class node_listingform,node_listingstart,node_api toneMint
class node_dashboard,node_login,node_register toneRose
class node_useractions,node_propertyactions,node_store,node_reducers,node_propertyreducer,node_propertytypes,node_usertypes,node_visitor toneIndigo
```

## Components

### App entry

- [Routes and app](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/App.js): `src/App.js`
- [Shared layout](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/layout/Layout.jsx): `src/layout/Layout.jsx`
- [Navigation and search](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/layout/header/Header.jsx): `src/layout/header/Header.jsx`

### Property discovery

- [Buy search](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/buyPages/buySearch/BuySearch.jsx): `src/pages/buyPages/buySearch/BuySearch.jsx`
- [Buy filters](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/buyPages/buySearch/SearchFilter.jsx): `src/pages/buyPages/buySearch/SearchFilter.jsx`
- [Rent search](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/rentPages/rentSearch/RentSearch.jsx): `src/pages/rentPages/rentSearch/RentSearch.jsx`
- [Rent filters](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/rentPages/rentSearch/RentSearchFilter.jsx): `src/pages/rentPages/rentSearch/RentSearchFilter.jsx`
- [Property details](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/buyPages/propertyDetails/PropertyDetails.jsx): `src/pages/buyPages/propertyDetails/PropertyDetails.jsx`
- [Rental details](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/rentPages/rentPropertyDetails/RentPropertyDetails.jsx): `src/pages/rentPages/rentPropertyDetails/RentPropertyDetails.jsx`
- [Area insights](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/buyPages/buyInsights/BuyInsights.jsx): `src/pages/buyPages/buyInsights/BuyInsights.jsx`
- [Rental insights](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/rentPages/rentInsights/RentInsights.jsx): `src/pages/rentPages/rentInsights/RentInsights.jsx`
- [Contact advertiser](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/components/contactOwnerForm/ContactOwnerForm.jsx): `src/components/contactOwnerForm/ContactOwnerForm.jsx`

### Property listing

- [Create listing](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/addPropertySteps/AddPropertySteps.jsx): `src/pages/addPropertySteps/AddPropertySteps.jsx`
- [Listing introduction](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/pages/addProperty/AddProperty.jsx): `src/pages/addProperty/AddProperty.jsx`

### Accounts and dashboards

- [Role dashboards](https://github.com/dilipios12/kiakia-fronted-dasboard/tree/main/src/pages/dashboard): `src/pages/dashboard`
- [Login](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/layout/login/Login.jsx): `src/layout/login/Login.jsx`
- [Registration](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/layout/register/Register.jsx): `src/layout/register/Register.jsx`

### Application state

- [User actions](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/actions/userTypesAction.js): `src/store/actions/userTypesAction.js`
- [Property actions](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/actions/propertyAction.js): `src/store/actions/propertyAction.js`
- [Redux store](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/Store.js): `src/store/Store.js`
- [State reducers](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/reducers/index.js): `src/store/reducers/index.js`
- [Property reducer](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/reducers/propertyReducer.js): `src/store/reducers/propertyReducer.js`
- [Property action types](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/types/propertyTypes.js): `src/store/types/propertyTypes.js`
- [User action types](https://github.com/dilipios12/kiakia-fronted-dasboard/blob/main/src/store/types/userTypes.js): `src/store/types/userTypes.js`

### Other components

- **Visitor**
- **Marketplace API**

## Connections

- Visitor → Routes and app: opens
- Routes and app → Shared layout: renders (evidence: `src/App.js`)
- Shared layout → Navigation and search: renders (evidence: `src/layout/Layout.jsx`)
- Routes and app → Buy search: routes to (evidence: `src/App.js`)
- Routes and app → Rent search: routes to (evidence: `src/App.js`)
- Routes and app → Property details: routes to (evidence: `src/App.js`)
- Routes and app → Rental details: routes to (evidence: `src/App.js`)
- Routes and app → Area insights: routes to (evidence: `src/App.js`)
- Routes and app → Rental insights: routes to (evidence: `src/App.js`)
- Routes and app → Role dashboards: routes to (evidence: `src/App.js`)
- Buy search → Buy filters: renders (evidence: `src/pages/buyPages/buySearch/BuySearch.jsx`)
- Rent search → Rent filters: renders (evidence: `src/pages/rentPages/rentSearch/RentSearch.jsx`)
- Buy filters → Property actions: dispatches (evidence: `src/pages/buyPages/buySearch/SearchFilter.jsx`)
- Rent filters → Property actions: dispatches (evidence: `src/pages/rentPages/rentSearch/RentSearchFilter.jsx`)
- Property actions → Marketplace API: requests listings (evidence: `src/store/actions/propertyAction.js`)
- Property actions → Property action types: dispatches types (evidence: `src/store/actions/propertyAction.js`)
- Redux store → State reducers: configures (evidence: `src/store/Store.js`)
- State reducers → Property reducer: combines
- Property reducer → Property action types: handles types (evidence: `src/store/reducers/propertyReducer.js`)
- Navigation and search → Property actions: sets search filters (evidence: `src/layout/header/Header.jsx`)
- Listing introduction → Create listing: continues listing
- Create listing → Property actions: loads property data (evidence: `src/pages/addPropertySteps/AddPropertySteps.jsx`)
- Property actions → Marketplace API: creates listing (evidence: `src/store/actions/propertyAction.js`)
- Navigation and search → Login: opens (evidence: `src/layout/header/Header.jsx`)
- Navigation and search → Registration: opens (evidence: `src/layout/header/Header.jsx`)
- Login → User actions: dispatches (evidence: `src/layout/login/Login.jsx`)
- Registration → User actions: dispatches (evidence: `src/layout/register/Register.jsx`)
- Routes and app → User actions: loads user types (evidence: `src/App.js`)
- User actions → User action types: dispatches types (evidence: `src/store/actions/userTypesAction.js`)
- Buy filters → Contact advertiser: offers contact form (evidence: `src/pages/buyPages/buySearch/SearchFilter.jsx`)
- Rent filters → Contact advertiser: offers contact form (evidence: `src/pages/rentPages/rentSearch/RentSearchFilter.jsx`)
