How johnram1975/condoplus works
CondoPlus is a multi-tenant SaaS for condominium operations, with a React PWA and private NestJS API. Residents and condominium staff sign in, select a membership context, and use tenant-scoped features such as requests, documents, residents, and communications; platform administrators manage the SaaS separately. The graph highlights authentication and request handling as the primary workflow, plus documented/runtime feature areas. Some feature internals were not sampled, so their connections are limited to routes or documented architecture rather than inferred service calls.
Main entry points: client.ts API client · router.tsx PWA routes · auth.service.ts Authentication · RequestDetailPage.tsx Requests screens
Components 22
Web application
- PWA routes
apps/web/src/app/router.tsx - Session provider
apps/web/src/features/auth/AuthProvider.tsx - API client
apps/web/src/shared/api/client.ts - Requests screens
apps/web/src/features/requests/RequestDetailPage.tsx - Platform console
apps/web/src/features/platform/PlatformPages.tsx
Identity and tenancy
- Authentication
apps/api/src/modules/auth/auth.service.ts - JWT and permissions
apps/api/src/common/guards - Tenant context
apps/api/src/common/tenant - Condominium onboarding
apps/api/src/modules/tenancy/tenancy.service.ts
Condominium operations
- Request handling
apps/api/src/modules/requests/requests.controller.ts - Request domain service
apps/api/src/modules/requests/requests.service.ts - Documents and files
apps/api/src/modules/documents - Resident management
apps/api/src/modules/residents - Assemblies and polls
apps/api/src/modules/assemblies - Communications
apps/api/src/modules/communications - Notifications
apps/api/src/modules/notifications - Operational dashboard
apps/api/src/modules/dashboard - Audit trail
apps/api/src/modules/audit
SaaS administration
- Platform administration
apps/api/src/modules/platform/platform.service.ts
Other components
- Residents and staff
- Postgres with RLS
- Redis services
apps/api/src/redis/redis.service.ts
Connections 23
- Residents and staff → PWA routes: use
- PWA routes → Session provider: routes through
apps/web/src/app/App.tsx - Session provider → API client: calls
apps/web/src/features/auth/AuthProvider.tsx - API client → Authentication: requests
apps/web/src/shared/api/client.ts - Authentication → Postgres with RLS: reads and writes
apps/api/src/modules/auth/auth.service.ts - Authentication → Redis services: uses cache and limits
apps/api/src/modules/auth/auth.service.ts - Residents and staff → Requests screens: submit requests
- PWA routes → Requests screens: routes to
apps/web/src/app/router.tsx - Requests screens → API client: submits data
apps/web/src/features/requests/RequestDetailPage.tsx - API client → Request handling: sends API calls
- Request handling → Request domain service: delegates
apps/api/src/modules/requests/requests.controller.ts - Request domain service → Postgres with RLS: reads and writes
- JWT and permissions → Tenant context: enforces context
- Residents and staff → Condominium onboarding: onboard condominium
- Platform console → Platform administration: manages platform
- PWA routes → Platform console: routes to
apps/web/src/app/router.tsx - API client → Documents and files: requests feature APIs
- API client → Resident management: requests feature APIs
- API client → Assemblies and polls: requests feature APIs
- API client → Communications: requests feature APIs
- API client → Notifications: requests feature APIs
- API client → Operational dashboard: requests feature APIs
- API client → Audit trail: requests feature APIs