How rajdeeepdas/ready2rent works
Ready2Rent guides Calgary homeowners through legalizing basement suites, while staff manage each case through permits, construction, inspections, and registration. The principal workflow runs from homeowner intake and document upload, through transactional application creation, to staff queue work and status updates that homeowners can track. The frontend has separate homeowner and ops routes over one Django API. The README documents PostgreSQL, Redis-backed queue caching, background email notifications, and private file storage; several backend routes and the upload implementation were not sampled, so those links are documented rather than inferred from unsampled code.
Main entry points: App.jsx SPA routes · services.py Case services · api.js API client · views_ops.py Ops endpoints
Components 24
Frontend
- SPA routes
frontend/src/App.jsx - Session state
frontend/src/auth.jsx - Intake form
frontend/src/pages/Intake.jsx - Homeowner tracking
frontend/src/pages/ApplicationDetail.jsx - Ops case work
frontend/src/pages/OpsApplication.jsx - Ops queue
frontend/src/pages/OpsQueue.jsx - API client
frontend/src/api.js
Identity and access
- Account endpoints
backend/accounts/views.py - User roles
backend/accounts/models.py
Application operations
- Homeowner endpoints
backend/applications/views_homeowner.py - Ops endpoints
backend/applications/views_ops.py - Case services
backend/applications/services.py - Status rules
backend/applications/state_machine.py - Case records
backend/applications/models.py
Runtime services
- Queue cache
backend/applications/cache.py - Email tasks
backend/applications/tasks.py - Celery worker
backend/config/celery.py
Data and files
- PostgreSQL
- Redis
- File storage config
backend/config/storage.py - Private file storage
Other components
- Homeowner
- Ops staff
- Email service
Connections 33
- Homeowner → SPA routes: uses
README.md - Ops staff → SPA routes: uses
README.md - SPA routes → Session state: provides session
frontend/src/App.jsx - SPA routes → Intake form: routes to
frontend/src/App.jsx - SPA routes → Homeowner tracking: routes to
frontend/src/App.jsx - SPA routes → Ops case work: routes to
frontend/src/App.jsx - SPA routes → Ops queue: routes to
frontend/src/App.jsx - Session state → API client: calls
frontend/src/auth.jsx - Intake form → API client: submits through
frontend/src/pages/Intake.jsx - Homeowner tracking → API client: loads through
frontend/src/pages/ApplicationDetail.jsx - Ops case work → API client: acts through
frontend/src/pages/OpsApplication.jsx - API client → Account endpoints: HTTP requests
README.md - API client → Homeowner endpoints: HTTP requests
README.md - API client → Ops endpoints: HTTP requests
README.md - Account endpoints → User roles: authenticates users
backend/accounts/views.py - Homeowner endpoints → Case services: invokes
- Ops endpoints → Case services: invokes
backend/applications/views_ops.py - Ops endpoints → Queue cache: reads queue cache
backend/applications/views_ops.py - Ops endpoints → Status rules: checks transitions
backend/applications/views_ops.py - Case services → Status rules: validates transitions
backend/applications/services.py - Case services → Case records: writes records
backend/applications/services.py - Case services → Email tasks: queues notifications
backend/applications/services.py - Case services → PostgreSQL: transactional writes
README.md - Ops endpoints → Case records: reads case data
backend/applications/views_ops.py - Case records → PostgreSQL: persists records
README.md - Ops endpoints → User roles: checks permissions
backend/applications/views_ops.py - Case services → Queue cache: invalidates
- Queue cache → Redis: caches queue
README.md - Email tasks → Celery worker: runs as tasks
README.md - Celery worker → Email service: sends messages
- Email tasks → Case records: loads applications
backend/applications/tasks.py - File storage config → Private file storage: selects backend
backend/config/storage.py - Homeowner endpoints → Private file storage: serves protected uploads
README.md