System Architecture
EstateHub Core is a Django 5.2+ application using Django REST Framework, Simple JWT, PostgreSQL in development and production, SQLite in the test settings, and ASGI through Daphne.
Runtime Architecture
Installed Applications
| Application | Responsibility |
|---|---|
| accounts | Users, roles, JWT sessions, social authentication, KYC, and KYB. |
| properties | Listings, media, resources, amenities, favorites, saved searches, comparisons, and discovery. |
| communications | Conversations, messages, participant read state, and WebSocket consumer support. |
| appointments | Property tours, inspections, document reviews, negotiations, and scheduling actions. |
| deals | Purchase records, rental applications, leases, and progress checklists. |
| payments | Payments, payouts, and immutable financial records. |
| reviews | Property and transaction reviews. |
| notifications | User notifications, announcements, and real-time notification events. |
| documents / audit | Generic documents and append-only audit history. |
| dashboard | Administrator and seller summary queries. |
| platform_config | Platform identity, branding, commissions, and integration configuration. |
| uploads | Managed upload preparation, completion, protected delivery, and deletion. |
Code Boundaries
- Views authenticate, authorize, validate serializers, and shape HTTP responses.
- Selectors own reusable read queries and ownership-scoped lookups.
- Services own writes, transactions, state transitions, notifications, and audit events.
- Models define durable state and database constraints.
- Serializers validate request data and expose response fields.
- Role-specific URL namespaces separate customer, seller, and administrator surfaces.
Operational Status
The root Compose stack includes PostgreSQL, Redis, and a Celery worker. Review the cache, channel-layer, and worker configuration for your deployment topology.