# eng-mohaned-alyousufi1/aqari-pro-management architecture

> Architecture diagram of the GitHub repository eng-mohaned-alyousufi1/aqari-pro-management, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/eng-mohaned-alyousufi1/aqari-pro-management
- Repository: https://github.com/eng-mohaned-alyousufi1/aqari-pro-management

## Overview

Aqari Pro is presented as a real-estate marketplace and management platform. The visible prototype is a browser-side application backed by mock data and local storage, rather than evidence of a connected backend. Its user workflow is property discovery and engagement; owners and brokers manage listings, while administrators oversee accounts and platform operations. Several major capabilities are documented but their specific implementations were not sampled, so the graph keeps them within the evidenced role-page modules. The available excerpts do not show route registration or backend wiring.

Main entry points: [`aqari-pro-prototype/js/mock-data.js`](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/mock-data.js) (Mock domain data), [`aqari-pro-prototype/js/storage.js`](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/storage.js) (Browser storage), [`aqari-pro-prototype/js/app.js`](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/app.js) (App shell), [`aqari-pro-prototype/js/router.js`](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/router.js) (Hash router)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Application shell"]
  node_app["App shell<br/>[app.js]"]
  node_router["Hash router<br/>[router.js]"]
  node_nav["Role navigation<br/>[nav-config.js]"]
  node_notifications["Notification helpers<br/>[notifications.js]"]
  node_scripts["Page scripts<br/>[page-scripts.js]"]
end

subgraph group_market["Property marketplace"]
  node_seeker["Seeker pages<br/>[seeker-pages.js]"]
  node_owner["Owner pages<br/>[owner-pages.js]"]
  node_broker["Broker pages<br/>[broker-pages.js]"]
end

subgraph group_operations["Platform operations"]
  node_admin["Admin pages<br/>[admin-pages.js]"]
  node_shared["Shared account pages<br/>[shared-pages.js]"]
  node_authpages["Authentication pages<br/>[auth-pages.js]"]
  node_auth["Authentication logic<br/>[auth.js]"]
end

subgraph group_runtime["Prototype runtime"]
  node_mock["Mock domain data<br/>[mock-data.js]"]
  node_storage[("Browser storage<br/>[storage.js]")]
  node_validation["Form validation<br/>[validation.js]"]
end

node_seekers_actor(("Property seekers"))
node_owners_actor(("Property owners"))
node_brokers_actor(("Brokers"))
node_admins_actor(("Administrators"))

node_app -->|"loads session"| node_storage
node_app -->|"starts routing"| node_router
node_app -->|"renders navigation"| node_nav
node_app -->|"checks unread count"| node_notifications
node_router -->|"checks session"| node_storage
node_router -->|"initializes page scripts"| node_scripts
node_authpages -->|"adds registered user"| node_mock
node_authpages -->|"navigates after registration"| node_router
node_auth -->|"checks user records"| node_mock
node_auth -->|"stores session"| node_storage
node_seeker -->|"searches property data"| node_mock
node_owner -->|"reads listing data"| node_mock
node_owner -->|"validates listing"| node_validation
node_broker -->|"manages team data"| node_mock
node_admin -->|"manages platform data"| node_mock
node_admin -->|"saves settings"| node_storage
node_shared -->|"updates session profile"| node_storage
node_shared -->|"submits verification"| node_mock
node_seekers_actor -->|"searches and engages"| node_seeker
node_owners_actor -->|"lists and manages"| node_owner
node_brokers_actor -->|"manages properties"| node_broker
node_admins_actor -->|"oversees platform"| node_admin

click node_seeker "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/seeker-pages.js"
click node_owner "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/owner-pages.js"
click node_broker "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/broker-pages.js"
click node_admin "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/admin-pages.js"
click node_shared "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/shared-pages.js"
click node_authpages "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/auth-pages.js"
click node_auth "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/auth.js"
click node_app "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/app.js"
click node_router "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/router.js"
click node_nav "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/nav-config.js"
click node_notifications "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/notifications.js"
click node_scripts "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/page-scripts.js"
click node_mock "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/mock-data.js"
click node_storage "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/storage.js"
click node_validation "https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/validation.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_router,node_nav,node_notifications,node_scripts toneBlue
class node_seeker,node_owner,node_broker toneAmber
class node_admin,node_shared,node_authpages,node_auth toneMint
class node_mock,node_storage,node_validation toneRose
class node_seekers_actor,node_owners_actor,node_brokers_actor,node_admins_actor toneIndigo
```

## Components

### Application shell

- [App shell](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/app.js): `aqari-pro-prototype/js/app.js`
- [Hash router](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/router.js): `aqari-pro-prototype/js/router.js`
- [Role navigation](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/nav-config.js): `aqari-pro-prototype/js/nav-config.js`
- [Notification helpers](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/notifications.js): `aqari-pro-prototype/js/notifications.js`
- [Page scripts](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/page-scripts.js): `aqari-pro-prototype/js/page-scripts.js`

### Property marketplace

- [Seeker pages](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/seeker-pages.js): `aqari-pro-prototype/js/seeker-pages.js`
- [Owner pages](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/owner-pages.js): `aqari-pro-prototype/js/owner-pages.js`
- [Broker pages](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/broker-pages.js): `aqari-pro-prototype/js/broker-pages.js`

### Platform operations

- [Admin pages](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/admin-pages.js): `aqari-pro-prototype/js/admin-pages.js`
- [Shared account pages](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/shared-pages.js): `aqari-pro-prototype/js/shared-pages.js`
- [Authentication pages](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/auth-pages.js): `aqari-pro-prototype/js/auth-pages.js`
- [Authentication logic](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/auth.js): `aqari-pro-prototype/js/auth.js`

### Prototype runtime

- [Mock domain data](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/mock-data.js): `aqari-pro-prototype/js/mock-data.js`
- [Browser storage](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/storage.js): `aqari-pro-prototype/js/storage.js`
- [Form validation](https://github.com/eng-mohaned-alyousufi1/aqari-pro-management/blob/main/aqari-pro-prototype/js/validation.js): `aqari-pro-prototype/js/validation.js`

### Other components

- **Property seekers**
- **Property owners**
- **Brokers**
- **Administrators**

## Connections

- App shell → Browser storage: loads session (evidence: `aqari-pro-prototype/js/app.js`)
- App shell → Hash router: starts routing (evidence: `aqari-pro-prototype/js/app.js`)
- App shell → Role navigation: renders navigation (evidence: `aqari-pro-prototype/js/app.js`)
- App shell → Notification helpers: checks unread count (evidence: `aqari-pro-prototype/js/app.js`)
- Hash router → Browser storage: checks session (evidence: `aqari-pro-prototype/js/router.js`)
- Hash router → Page scripts: initializes page scripts (evidence: `aqari-pro-prototype/js/router.js`)
- Authentication pages → Mock domain data: adds registered user (evidence: `aqari-pro-prototype/js/auth-pages.js`)
- Authentication pages → Hash router: navigates after registration (evidence: `aqari-pro-prototype/js/auth-pages.js`)
- Authentication logic → Mock domain data: checks user records (evidence: `aqari-pro-prototype/js/auth.js`)
- Authentication logic → Browser storage: stores session (evidence: `aqari-pro-prototype/js/auth.js`)
- Seeker pages → Mock domain data: searches property data (evidence: `aqari-pro-prototype/js/seeker-pages.js`)
- Owner pages → Mock domain data: reads listing data (evidence: `aqari-pro-prototype/js/owner-pages.js`)
- Owner pages → Form validation: validates listing (evidence: `aqari-pro-prototype/js/owner-pages.js`)
- Broker pages → Mock domain data: manages team data (evidence: `aqari-pro-prototype/js/broker-pages.js`)
- Admin pages → Mock domain data: manages platform data (evidence: `aqari-pro-prototype/js/admin-pages.js`)
- Admin pages → Browser storage: saves settings (evidence: `aqari-pro-prototype/js/admin-pages.js`)
- Shared account pages → Browser storage: updates session profile (evidence: `aqari-pro-prototype/js/shared-pages.js`)
- Shared account pages → Mock domain data: submits verification (evidence: `aqari-pro-prototype/js/shared-pages.js`)
- Property seekers → Seeker pages: searches and engages (evidence: `README.md`)
- Property owners → Owner pages: lists and manages (evidence: `README.md`)
- Brokers → Broker pages: manages properties (evidence: `README.md`)
- Administrators → Admin pages: oversees platform (evidence: `README.md`)
