Source Code Structure
The workspace contains three independent projects and a root Compose stack.
Main/
backend/ Django REST API
frontend/ Next.js web application
estatehub-documentation/ Next.js MDX documentation
deliverables/ Release artifacts, including Postman collection
compose.yaml Local container stackBackend
core/ owns settings, URL composition, ASGI, and Celery. Domain applications include accounts, properties, appointments, deals, payments, communications, notifications, reviews, uploads, documents, audit, dashboard, and platform configuration. Each domain owns its models, migrations, selectors, services, and API code. API serializers, views, and URL files are grouped by version and role.
Frontend
app/ owns routes, layouts, and error/loading states. features/ owns domain components, contracts, validation, and RTK Query endpoints. components/ contains shared UI, public layouts, portal layouts, and media viewers. lib/ contains infrastructure, API configuration, and platform settings access. config/ contains navigation. addons/ contains preview components, not released add-on implementations.
Documentation
src/app/docs/product/ contains operator guidance and src/app/docs/developer/ contains technical guidance. Shared components and navigation preserve one documentation website.
See Package Contents, Backend Architecture, and Frontend Architecture.