How homestaypdy-eng/sri-apartment-os10 works
Sri Apartment OS is a property-operations platform with staff and guest-facing web flows backed by a modular API. The main workflow spans property availability and booking management, operational work, financial reconciliation, and reporting; separate customer and guest authentication support the portals. The README documents additional operational modules and notification channels. Several backend modules are represented at their exact directory paths because their implementation was not sampled; their internal call relationships are therefore not inferred.
Main entry points: main.py Backend API · App.tsx Staff web app · auth Staff authentication · portal Guest authentication
Components 24
Web application
- Staff web app
frontend/src/App.tsx - API client
frontend/src/lib/api.ts
Booking and access
- Staff authentication
backend/app/modules/auth - Guest authentication
backend/app/modules/portal - Customer authentication
backend/app/modules/customer_auth - Properties and availability
backend/app/modules/properties - Public booking
backend/app/modules/public_booking - Bookings
backend/app/modules/bookings/models.py
Property operations
- Guest requests
backend/app/modules/inquiries - Housekeeping
backend/app/modules/housekeeping - Maintenance
backend/app/modules/maintenance - Inventory
backend/app/modules/inventory - Staff operations
backend/app/modules/staff_ops
Business intelligence
- Finance and payments
backend/app/modules/finance - Reports and analytics
backend/app/modules/reports - Automation
backend/app/modules/automation
Platform services
- Notifications
backend/app/modules/notifications/service.py - Audit trail
backend/app/modules/audit - Business settings
backend/app/modules/settings/router.py - Zotel channel sync
backend/app/modules/zotel - Database
backend/app/db/session.py - Backend API
backend/app/main.py
Other components
- Staff user
- Guest
Connections 23
- Staff user → Staff web app: uses
frontend/src/App.tsx - Guest → Guest authentication: signs in
- Staff web app → API client: requests data
- Backend API → Staff authentication: mounts routes
backend/app/main.py - Backend API → Bookings: mounts routes
backend/app/main.py - Backend API → Properties and availability: mounts routes
backend/app/main.py - Backend API → Guest authentication: mounts routes
backend/app/main.py - Backend API → Customer authentication: mounts routes
backend/app/main.py - Backend API → Finance and payments: mounts routes
backend/app/main.py - Backend API → Guest requests: mounts routes
backend/app/main.py - Backend API → Notifications: mounts routes
backend/app/main.py - Backend API → Database: configures
- Backend API → Housekeeping: serves module
backend/app/main.py - Backend API → Maintenance: serves module
backend/app/main.py - Backend API → Inventory: serves module
backend/app/main.py - Backend API → Staff operations: serves module
backend/app/main.py - Backend API → Reports and analytics: serves module
backend/app/main.py - Backend API → Automation: serves module
- Backend API → Public booking: serves module
backend/app/main.py - Backend API → Audit trail: mounts routes
backend/app/main.py - Backend API → Business settings: mounts routes
backend/app/main.py - Backend API → Zotel channel sync: mounts routes
backend/app/main.py - Backend API → Staff authentication: uses security
backend/app/main.py