How iiit-sricity-fsd-2024-2028/32_resourcex works
This is a multi-tenant asset and resource allocation SaaS with role-specific institutional and platform dashboards. The main workflow is requesting a resource, departmental review, allocation, use, and return or maintenance; procurement supports replenishing stock. The graph also preserves administration, analytics, communications, and platform operations. Source excerpts establish several frontend routes and backend controller/service calls; additional workflow links are based on the README. Unsampled modules are represented at exact paths from the tree, without assuming their internal call structure.
Main entry points: dashboards Role dashboards · data.service.ts Application state · resources.service.ts Inventory resources · requests.service.ts Resource requests
Components 23
Web client
- Web application
react-frontend/src/App.jsx - Role dashboards
react-frontend/src/components/dashboards - Client auth state
react-frontend/src/services/auth.js - Profile settings
backend/src/profile
Identity and tenancy
- Users
backend/src/users/users.service.ts - Authentication
backend/src/auth/auth.service.ts - Departments
backend/src/departments - Organizations
backend/src/organizations
Resource lifecycle
- Resource requests
backend/src/requests/requests.service.ts - Inventory resources
backend/src/resources/resources.service.ts - Returns and inspections
backend/src/returns - Maintenance and scrap
backend/src/maintenance - Procurement workflow
backend/src/procurements/procurements.service.ts - Purchase invoices
backend/src/invoices
Institution operations
- Application state
backend/src/data/data.service.ts - Institution analytics
backend/src/analytics - Announcements
backend/src/announcements - Notifications
backend/src/notifications
Platform services
- Platform analytics
backend/src/platform-analytics - Support tickets
backend/src/support - Subscriptions
backend/src/subscriptions
Other components
- Organization users
- Platform owner and employees
Connections 31
- Organization users → Web application: uses
- Web application → Role dashboards: routes to
react-frontend/src/App.jsx - Web application → Client auth state: checks session
react-frontend/src/App.jsx - Client auth state → Authentication: authenticates
- Role dashboards → Resource requests: submits requests
- Resource requests → Application state: reads and writes
backend/src/requests/requests.service.ts - Resource requests → Inventory resources: forwards approval
- Organization users → Resource requests: requests resources
- Inventory resources → Application state: reads and writes
backend/src/resources/resources.service.ts - Inventory resources → Maintenance and scrap: requests servicing
- Inventory resources → Returns and inspections: initiates return
- Returns and inspections → Inventory resources: routes inspected asset
- Maintenance and scrap → Inventory resources: resolves asset status
- Organization users → Procurement workflow: requests stock
- Procurement workflow → Application state: reads and writes
backend/src/procurements/procurements.service.ts - Procurement workflow → Purchase invoices: records purchase
- Purchase invoices → Inventory resources: registers delivery
- Authentication → Application state: reads and updates
backend/src/auth/auth.service.ts - Users → Application state: manages users
- Departments → Application state: manages departments
backend/src/departments/departments.service.ts - Organizations → Application state: manages organizations
- Platform owner and employees → Organizations: onboards institutions
- Platform owner and employees → Users: manages employees
- Role dashboards → Institution analytics: views metrics
- Role dashboards → Platform analytics: views platform metrics
- Announcements → Application state: reads and writes
backend/src/announcements/announcements.service.ts - Role dashboards → Announcements: manages communications
- Role dashboards → Notifications: views alerts
- Role dashboards → Support tickets: handles support
- Role dashboards → Subscriptions: manages plans
- Role dashboards → Profile settings: updates profile