# jester-r/rent_easy_web_django architecture

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

- Interactive diagram: https://gitdiagram.com/jester-r/rent_easy_web_django
- Repository: https://github.com/jester-r/rent_easy_web_django

## Overview

RentEasy is a browser rental platform: visitors browse listings; renters can register, save favorites, request bookings, and view payments; owners manage listings and booking requests; superadmins manage platform records. Angular routes and services provide the user-facing portals, while Django Bolt APIs and Django models/services implement the backend. The README establishes the broad Angular-to-backend architecture, but sampled excerpts do not show most HTTP service-to-endpoint wiring, so those links are marked unverified.

Main entry points: [`frontend/src/app/app.routes.ts`](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/app.routes.ts) (App routes), [`backend/listings/api.py`](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/listings/api.py) (Listing APIs), [`backend/payments/services.py`](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/payments/services.py) (Payment workflows), [`frontend/src/app/services/property.service.ts`](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/services/property.service.ts) (Property service)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web experience"]
  node_routes["App routes<br/>[app.routes.ts]"]
  node_auth_ui["Authentication UI<br/>[login.ts]"]
  node_browse_ui["Browse and property pages<br/>[browse.ts]"]
  node_renter_ui["Renter portal<br/>[renter-bookings.ts]"]
  node_owner_ui["Owner portal<br/>[owner-form.ts]"]
  node_payment_ui["Payment views<br/>[renter-payments.ts]"]
  node_notify_ui["Notifications view<br/>[notifications.ts]"]
  node_auth_service["Auth service<br/>[auth.service.ts]"]
  node_property_service["Property service"]
  node_booking_service["Booking service<br/>[booking.service.ts]"]
  node_payment_service["Payment service<br/>[payment.service.ts]"]
  node_notification_service["Notification service"]
end

subgraph group_accounts["Accounts and console"]
  node_console_ui["Superadmin console"]
  node_console_service["Console service<br/>[console.service.ts]"]
  node_account_api["Account APIs<br/>[api.py]"]
  node_console_api["Console APIs<br/>[console_api.py]"]
  node_user_store[("Accounts and audit records<br/>[models.py]")]
end

subgraph group_rental["Rental operations"]
  node_listing_api["Listing APIs<br/>[api.py]"]
  node_property_store[("Properties and favorites<br/>[models.py]")]
  node_booking_api["Booking APIs<br/>[api.py]"]
  node_booking_store[("Booking state<br/>[models.py]")]
end

subgraph group_money["Payments and notices"]
  node_payment_api["Payment APIs<br/>[api.py]"]
  node_payment_service_backend["Payment workflows<br/>[services.py]"]
  node_payment_store[("Payments and refunds<br/>[models.py]")]
  node_notification_api["Notification APIs<br/>[api.py]"]
  node_notification_service_backend["Notification delivery<br/>[services.py]"]
  node_notification_store[("Notifications<br/>[models.py]")]
end

subgraph group_platform["Shared backend"]
  node_bolt["Bolt API utilities<br/>[bolt.py]"]
  node_serializers["Bolt serializers"]
end

node_visitor(("Visitor / user"))

node_visitor -->|"opens"| node_routes
node_routes -->|"routes to"| node_auth_ui
node_routes -->|"routes to"| node_browse_ui
node_routes -->|"routes to"| node_renter_ui
node_routes -->|"routes to"| node_owner_ui
node_routes -->|"routes to"| node_payment_ui
node_routes -->|"routes to"| node_notify_ui
node_routes -->|"routes to"| node_console_ui
node_auth_ui -->|"uses"| node_auth_service
node_visitor -->|"browses"| node_browse_ui
node_visitor -->|"signs in"| node_auth_ui
node_browse_ui -.->|"loads listings"| node_property_service
node_renter_ui -.->|"requests bookings"| node_booking_service
node_renter_ui -.->|"saves favorites"| node_property_service
node_owner_ui -.->|"manages listings"| node_property_service
node_payment_ui -.->|"loads payments"| node_payment_service
node_notify_ui -.->|"loads notices"| node_notification_service
node_console_ui -.->|"manages records"| node_console_service
node_property_service -.->|"calls API"| node_listing_api
node_booking_service -.->|"calls API"| node_booking_api
node_payment_service -.->|"calls API"| node_payment_api
node_notification_service -.->|"calls API"| node_notification_api
node_auth_service -.->|"calls API"| node_account_api
node_console_service -.->|"calls API"| node_console_api
node_account_api -.->|"reads and writes"| node_user_store
node_console_api -->|"manages accounts"| node_user_store
node_listing_api -->|"uses listings"| node_property_store
node_booking_api -.->|"uses bookings"| node_booking_store
node_payment_api -.->|"runs payments"| node_payment_service_backend
node_payment_service_backend -->|"creates payments"| node_payment_store
node_payment_service_backend -->|"updates bookings"| node_booking_store
node_payment_service_backend -->|"notifies"| node_notification_service_backend
node_notification_service_backend -->|"creates notices"| node_notification_store
node_listing_api -->|"uses utilities"| node_bolt
node_listing_api -->|"uses serializers"| node_serializers
node_console_api -->|"uses serializers"| node_serializers

click node_routes "https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/app.routes.ts"
click node_auth_ui "https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/pages/auth/login/login.ts"
click node_browse_ui "https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/pages/properties/browse/browse.ts"
click node_renter_ui "https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/pages/bookings/renter-bookings/renter-bookings.ts"
click node_owner_ui "https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/pages/properties/owner-form/owner-form.ts"
click node_payment_ui "https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/pages/payments/renter-payments/renter-payments.ts"
click node_notify_ui "https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/pages/notifications/notifications.ts"
click node_auth_service "https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/services/auth.service.ts"
click node_property_service "https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/services/property.service.ts"
click node_booking_service "https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/services/booking.service.ts"
click node_payment_service "https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/services/payment.service.ts"
click node_notification_service "https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/services/notification.service.ts"
click node_console_ui "https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/pages/console/console-dashboard.ts"
click node_console_service "https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/services/console.service.ts"
click node_account_api "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/accounts/api.py"
click node_console_api "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/accounts/console_api.py"
click node_user_store "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/accounts/models.py"
click node_listing_api "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/listings/api.py"
click node_property_store "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/listings/models.py"
click node_booking_api "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/bookings/api.py"
click node_booking_store "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/bookings/models.py"
click node_payment_api "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/payments/api.py"
click node_payment_service_backend "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/payments/services.py"
click node_payment_store "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/payments/models.py"
click node_notification_api "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/notifications/api.py"
click node_notification_service_backend "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/notifications/services.py"
click node_notification_store "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/notifications/models.py"
click node_bolt "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/core/bolt.py"
click node_serializers "https://github.com/jester-r/rent_easy_web_django/blob/main/backend/core/bolt_serializers.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_auth_ui,node_browse_ui,node_renter_ui,node_owner_ui,node_payment_ui,node_notify_ui,node_auth_service,node_property_service,node_booking_service,node_payment_service,node_notification_service,node_visitor toneBlue
class node_console_ui,node_console_service,node_account_api,node_console_api,node_user_store toneAmber
class node_listing_api,node_property_store,node_booking_api,node_booking_store toneMint
class node_payment_api,node_payment_service_backend,node_payment_store,node_notification_api,node_notification_service_backend,node_notification_store toneRose
class node_bolt,node_serializers toneIndigo
```

## Components

### Web experience

- [App routes](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/app.routes.ts): `frontend/src/app/app.routes.ts`
- [Authentication UI](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/pages/auth/login/login.ts): `frontend/src/app/pages/auth/login/login.ts`
- [Browse and property pages](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/pages/properties/browse/browse.ts): `frontend/src/app/pages/properties/browse/browse.ts`
- [Renter portal](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/pages/bookings/renter-bookings/renter-bookings.ts): `frontend/src/app/pages/bookings/renter-bookings/renter-bookings.ts`
- [Owner portal](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/pages/properties/owner-form/owner-form.ts): `frontend/src/app/pages/properties/owner-form/owner-form.ts`
- [Payment views](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/pages/payments/renter-payments/renter-payments.ts): `frontend/src/app/pages/payments/renter-payments/renter-payments.ts`
- [Notifications view](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/pages/notifications/notifications.ts): `frontend/src/app/pages/notifications/notifications.ts`
- [Auth service](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/services/auth.service.ts): `frontend/src/app/services/auth.service.ts`
- [Property service](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/services/property.service.ts): `frontend/src/app/services/property.service.ts`
- [Booking service](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/services/booking.service.ts): `frontend/src/app/services/booking.service.ts`
- [Payment service](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/services/payment.service.ts): `frontend/src/app/services/payment.service.ts`
- [Notification service](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/services/notification.service.ts): `frontend/src/app/services/notification.service.ts`

### Accounts and console

- [Superadmin console](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/pages/console/console-dashboard.ts): `frontend/src/app/pages/console/console-dashboard.ts`
- [Console service](https://github.com/jester-r/rent_easy_web_django/blob/main/frontend/src/app/services/console.service.ts): `frontend/src/app/services/console.service.ts`
- [Account APIs](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/accounts/api.py): `backend/accounts/api.py`
- [Console APIs](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/accounts/console_api.py): `backend/accounts/console_api.py`
- [Accounts and audit records](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/accounts/models.py): `backend/accounts/models.py`

### Rental operations

- [Listing APIs](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/listings/api.py): `backend/listings/api.py`
- [Properties and favorites](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/listings/models.py): `backend/listings/models.py`
- [Booking APIs](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/bookings/api.py): `backend/bookings/api.py`
- [Booking state](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/bookings/models.py): `backend/bookings/models.py`

### Payments and notices

- [Payment APIs](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/payments/api.py): `backend/payments/api.py`
- [Payment workflows](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/payments/services.py): `backend/payments/services.py`
- [Payments and refunds](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/payments/models.py): `backend/payments/models.py`
- [Notification APIs](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/notifications/api.py): `backend/notifications/api.py`
- [Notification delivery](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/notifications/services.py): `backend/notifications/services.py`
- [Notifications](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/notifications/models.py): `backend/notifications/models.py`

### Shared backend

- [Bolt API utilities](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/core/bolt.py): `backend/core/bolt.py`
- [Bolt serializers](https://github.com/jester-r/rent_easy_web_django/blob/main/backend/core/bolt_serializers.py): `backend/core/bolt_serializers.py`

### Other components

- **Visitor / user**

## Connections

- Visitor / user → App routes: opens (evidence: `frontend/src/app/app.routes.ts`)
- App routes → Authentication UI: routes to (evidence: `frontend/src/app/app.routes.ts`)
- App routes → Browse and property pages: routes to (evidence: `frontend/src/app/app.routes.ts`)
- App routes → Renter portal: routes to (evidence: `frontend/src/app/app.routes.ts`)
- App routes → Owner portal: routes to (evidence: `frontend/src/app/app.routes.ts`)
- App routes → Payment views: routes to (evidence: `frontend/src/app/app.routes.ts`)
- App routes → Notifications view: routes to (evidence: `frontend/src/app/app.routes.ts`)
- App routes → Superadmin console: routes to (evidence: `frontend/src/app/app.routes.ts`)
- Authentication UI → Auth service: uses (evidence: `frontend/src/app/pages/auth/login/login.ts`)
- Visitor / user → Browse and property pages: browses (evidence: `README.md`)
- Visitor / user → Authentication UI: signs in (evidence: `README.md`)
- Browse and property pages → Property service: loads listings
- Renter portal → Booking service: requests bookings
- Renter portal → Property service: saves favorites
- Owner portal → Property service: manages listings
- Payment views → Payment service: loads payments
- Notifications view → Notification service: loads notices
- Superadmin console → Console service: manages records
- Property service → Listing APIs: calls API
- Booking service → Booking APIs: calls API
- Payment service → Payment APIs: calls API
- Notification service → Notification APIs: calls API
- Auth service → Account APIs: calls API
- Console service → Console APIs: calls API
- Account APIs → Accounts and audit records: reads and writes
- Console APIs → Accounts and audit records: manages accounts (evidence: `backend/accounts/console_api.py`)
- Listing APIs → Properties and favorites: uses listings (evidence: `backend/listings/api.py`)
- Booking APIs → Booking state: uses bookings
- Payment APIs → Payment workflows: runs payments
- Payment workflows → Payments and refunds: creates payments (evidence: `backend/payments/services.py`)
- Payment workflows → Booking state: updates bookings (evidence: `backend/payments/services.py`)
- Payment workflows → Notification delivery: notifies (evidence: `backend/payments/services.py`)
- Notification delivery → Notifications: creates notices (evidence: `backend/notifications/services.py`)
- Listing APIs → Bolt API utilities: uses utilities (evidence: `backend/listings/api.py`)
- Listing APIs → Bolt serializers: uses serializers (evidence: `backend/listings/api.py`)
- Console APIs → Bolt serializers: uses serializers (evidence: `backend/accounts/console_api.py`)
