How kvijay199428/rent works
Rent Receipt System is a multi-tenant rent, billing, and receipt-management product. Landlords authenticate, manage tenants and meter-based bills, record payments, export/import records, generate PDFs, and optionally send receipts through WhatsApp. Tenants authenticate through the portal or QR/PIN flow and receive receipts, payment status, profile, occupant, archive, and activity views. Admins manage platform configuration and audit data. The graph emphasizes documented routes and sampled import/export, authentication, persistence, proxy, and WebSocket layers; unsampled endpoint internals are summarized conservatively.
Components 27
Client Apps
- Landing App
frontend/landing-app/src/App.tsx - Landlord App
frontend/landlord-app/src/App.tsx - Tenant App
frontend/tenant-app/src/App.tsx - Admin App
frontend/admin-app/src/App.tsx
Access Layer
- HTTP API
backend/app/app/api/__init__.py - Landlord Alias
backend/app/app/routers/landlord_routes.py - Auth Sessions
backend/app/app/database/auth_repository.py - Realtime Events
backend/app/app/core/websocket_manager.py
Product Operations
- Tenant Management
backend/app/app/api/tenants.py - Billing Operations
backend/app/app/api/billing.py - Import Export
backend/app/app/api/sync.py - Document Delivery
backend/app/app/api/pdf.py - Backup Operations
backend/app/app/api/backup.py - Tenant Service
backend/app/app/services/tenant_service.py - Billing Service
backend/app/app/services/billing_service.py - Payment Service
backend/app/app/services/payment_service.py - Import Engine
backend/app/app/services/import_engine.py - Export Engine
backend/app/app/services/export_engine.py - PDF Service
backend/app/app/services/pdf_service.py
Data Layer
- Domain Repositories
backend/app/app/database/property_repository.py - Application Database
backend/app/app/core/db.py
External Integrations
- WhatsApp Service
backend/app/app/api/whatsapp.py - Payment Provider
Other components
- Public Visitor
- Landlord User
- Tenant User
- Platform Admin
Connections 30
- Public Visitor → Landing App: views product
- Landlord User → Landlord App: manages rentals
- Tenant User → Tenant App: views receipts
- Platform Admin → Admin App: administers platform
- Landlord App → Landlord Alias: sends requests
- Landlord Alias → HTTP API: proxies requests
- Tenant App → HTTP API: sends requests
- Admin App → HTTP API: sends requests
- HTTP API → Auth Sessions: checks sessions
- HTTP API → Tenant Management: dispatches tenant
- HTTP API → Billing Operations: dispatches billing
- HTTP API → Import Export: dispatches sync
- HTTP API → Document Delivery: dispatches documents
- HTTP API → Backup Operations: dispatches backups
- Tenant Management → Tenant Service: manages tenants
- Billing Operations → Billing Service: manages bills
- Billing Operations → Payment Service: records payments
- Import Export → Import Engine: imports records
- Import Export → Export Engine: exports records
- Document Delivery → PDF Service: generates PDFs
- Document Delivery → WhatsApp Service: sends receipts
- Billing Service → Domain Repositories: reads writes
- Tenant Service → Domain Repositories: reads writes
- Payment Service → Domain Repositories: persists payments
- Import Engine → Application Database: persists imports
- Export Engine → Application Database: reads records
- Domain Repositories → Application Database: queries data
- Payment Service → Payment Provider: charges payments
- Realtime Events → Landlord App: broadcasts auth
- Realtime Events → Admin App: broadcasts auth