How tharunbalajis/apartment_management_system works
This repository combines an apartment-management web app with a Fastify backend, including a separately aggregated mobile API. The main user workflow is to enter the web app, establish an authenticated and permission-checked session, navigate to a feature, and use its API client to retrieve or change society data. The tree also shows resident, visitor/security, complaint, finance, and administration capabilities. Backend mobile controllers and route registration are represented where sampled evidence supports them; README documentation was not provided, and many feature implementations were not sampled.
Main entry points: App.tsx App routes · routes.js Mobile route aggregator · client.ts API client · main.tsx Web entry
Components 23
Web application
- Web entry
ams_frontEnd_services-main/apps/web/src/main.tsx - App routes
ams_frontEnd_services-main/apps/web/src/app/App.tsx - Session and permissions
ams_frontEnd_services-main/apps/web/src/app/auth/AuthProvider.tsx - Society scope
ams_frontEnd_services-main/apps/web/src/app/scope/ScopeProvider.tsx - API client
ams_frontEnd_services-main/apps/web/src/app/api/client.ts - Roles and users
ams_frontEnd_services-main/apps/web/src/features/roles/pages/RolesPage.tsx - Settings
ams_frontEnd_services-main/apps/web/src/features/settings/pages/SettingsPage.tsx
Society operations
- Dashboards
ams_frontEnd_services-main/apps/web/src/features/dashboard/pages/DashboardPage.tsx - Resident management
ams_frontEnd_services-main/apps/web/src/features/residents/pages/ResidentDirectoryPage.tsx - Units and occupancy
ams_frontEnd_services-main/apps/web/src/features/residents/pages/UnitManagementPage.tsx - Financial management
ams_frontEnd_services-main/apps/web/src/features/financials/pages/FinanceDashboardPage.tsx - Complaint handling
ams_frontEnd_services-main/apps/web/src/features/complaints/pages/ComplaintDashboardPage.tsx
Access and security
- Visitor management
ams_frontEnd_services-main/apps/web/src/features/visitors/pages/GuestPassesPage.tsx - Guard patrol
ams_frontEnd_services-main/apps/web/src/features/visitors/pages/PatrolScanPage.tsx - QR entry
ams_frontEnd_services-main/apps/web/src/features/visitors/pages/QREntrySystemPage.tsx - Staff attendance
ams_frontEnd_services-main/apps/web/src/features/visitors/pages/StaffAttendancePage.tsx
Mobile API
- Mobile route aggregator
apartment_management_system-main/src/modules/mobile/routes.js - Resident mobile API
apartment_management_system-main/src/modules/mobile/resident/controller.js - Staff mobile API
apartment_management_system-main/src/modules/mobile/staff/controller.js - Complaint mobile API
apartment_management_system-main/src/modules/mobile/complaints/controller.js - Security mobile API
apartment_management_system-main/src/modules/mobile/security/controller.js - Settings mobile API
apartment_management_system-main/src/modules/mobile/settings/controller.js
Other components
- Society user
Connections 24
- Society user → Web entry: opens
ams_frontEnd_services-main/apps/web/src/main.tsx - Web entry → Session and permissions: provides context
ams_frontEnd_services-main/apps/web/src/main.tsx - Web entry → App routes: renders
ams_frontEnd_services-main/apps/web/src/main.tsx - App routes → Session and permissions: checks access
ams_frontEnd_services-main/apps/web/src/app/App.tsx - App routes → Dashboards: routes to
ams_frontEnd_services-main/apps/web/src/app/App.tsx - App routes → Resident management: routes to
ams_frontEnd_services-main/apps/web/src/app/App.tsx - App routes → Visitor management: routes to
ams_frontEnd_services-main/apps/web/src/app/App.tsx - App routes → Guard patrol: routes to
ams_frontEnd_services-main/apps/web/src/app/App.tsx - App routes → QR entry: routes to
ams_frontEnd_services-main/apps/web/src/app/App.tsx - App routes → Complaint handling: routes to
ams_frontEnd_services-main/apps/web/src/app/App.tsx - App routes → Units and occupancy: routes to
ams_frontEnd_services-main/apps/web/src/app/App.tsx - App routes → Financial management: routes to
- App routes → Staff attendance: routes to
ams_frontEnd_services-main/apps/web/src/app/App.tsx - App routes → Roles and users: routes to
ams_frontEnd_services-main/apps/web/src/app/App.tsx - App routes → Settings: routes to
ams_frontEnd_services-main/apps/web/src/app/App.tsx - Resident management → API client: requests data
- Units and occupancy → API client: requests data
- Visitor management → API client: requests data
- API client → Mobile route aggregator: calls backend
- Mobile route aggregator → Resident mobile API: registers routes
apartment_management_system-main/src/modules/mobile/routes.js - Mobile route aggregator → Staff mobile API: registers routes
apartment_management_system-main/src/modules/mobile/routes.js - Mobile route aggregator → Complaint mobile API: registers routes
apartment_management_system-main/src/modules/mobile/routes.js - Mobile route aggregator → Security mobile API: registers routes
apartment_management_system-main/src/modules/mobile/routes.js - Mobile route aggregator → Settings mobile API: registers routes
apartment_management_system-main/src/modules/mobile/routes.js