How belal-i/smartestate works
SmartEstate is a Django real-estate broker website and management backend. Visitors browse and filter rental or sale listings; brokers manage listings and prospective clients, then track possible matches. The graph separates property and client records, public browsing, broker workflows, site configuration/pages, and the REST API. The README documents these major capabilities; some subsystem internals are unsampled, so only documented or indexed relationships are shown. Static JavaScript behavior is represented narrowly because its templates and runtime wiring were not provided.
Main entry points: smartestate/views.py Site views · listings/views.py Listing views · rest/views.py API endpoints · urls.py Django routes
Components 20
Web entry
- Django routes
smartestate/urls.py - Site views
smartestate/views.py - Project settings
smartestate/settings.py
Property listings
- Listing views
listings/views.py - Listing search
broker/utils.py - Property records
listings/models.py - Listing helpers
listings/functions.py
Broker management
- Broker views
broker/views.py - Broker forms
broker/forms.py - Client and match records
broker/models.py
Site experience
- Site configuration
config/models.py - Custom pages
pages/models.py - Cookie and theme UI
static/js/main.js - Cookie library
static/js/js.cookie.mjs
REST API
- API routes
rest/urls.py - API endpoints
rest/views.py - API serializers
rest/serializers.py
Other components
- Website visitor
- Broker user
- Configured database
Connections 24
- Website visitor → Django routes: requests pages
README.md - Broker user → Django routes: uses backend
README.md - Django routes → Site views: routes requests
smartestate/urls.py - Django routes → Listing views: routes listings
smartestate/urls.py - Listing views → Property records: queries listings
listings/views.py - Listing views → Listing search: filters listings
listings/views.py - Listing views → Listing helpers: validates search
listings/views.py - Broker views → Broker forms: uses forms
broker/views.py - Broker views → Client and match records: queries records
broker/views.py - Broker views → Property records: queries listings
broker/views.py - Site views → Site configuration: reads configuration
smartestate/views.py - Site views → Project settings: uses settings
smartestate/views.py - Listing views → Project settings: uses language settings
listings/views.py - Django routes → API routes: serves API
- API routes → API endpoints: routes endpoints
rest/urls.py - API endpoints → Listing search: filters listings
rest/views.py - API endpoints → API serializers: serializes results
rest/views.py - API endpoints → Property records: reads listings
rest/views.py - API endpoints → Client and match records: reads and saves
rest/views.py - Project settings → Configured database: configures connection
smartestate/settings.py - Cookie and theme UI → Cookie library: uses cookies
static/js/main.js - Website visitor → Cookie and theme UI: interacts with site
- Site views → Custom pages: renders pages
- Site views → Cookie and theme UI: serves site assets