How venugopalreddy787/odoo_hackathon_2026 works
AssetFlow is a multi-tenant asset and resource-management ERP. Users sign in and work through the React portal; its API requests enter the Express router, reach domain services, and produce operational records or dashboards and reports. The graph preserves the documented organization, asset lifecycle, allocation, booking, maintenance, audit, notification, and analytics capabilities. README documents the general service-to-database architecture; sampled controller excerpts confirm several service calls, but many module internals were not sampled, so uncertain module-level wiring is omitted.
Main entry points: modules Domain services · routes.ts Express API router · App.tsx React portal · api.ts HTTP API client
Components 26
Web portal
- React portal
frontend/src/App.tsx - Asset workflows
frontend/src/pages/AssetRegistry.tsx - Allocation and audit
frontend/src/pages/AssetAllocation.tsx - Resource booking
frontend/src/pages/ResourceBooking.tsx - Maintenance
frontend/src/pages/Maintenance.tsx - Dashboard and reports
frontend/src/pages/Dashboard.tsx - HTTP API client
frontend/src/lib/api.ts
API gateway
- Express API router
backend/src/routes.ts
Asset operations
- Asset registry
backend/src/modules/asset - Allocation and transfers
backend/src/modules/allocation - Resource scheduling
backend/src/modules/booking - Repair workflows
backend/src/modules/maintenance
Organization governance
- Identity and sessions
backend/src/modules/auth - Departments and employees
backend/src/modules/department - Audit cycles
backend/src/modules/audit - Asset categories
backend/src/modules/asset-category
Insights and messaging
- Dashboard and reports
backend/src/modules/dashboard - Report generation
backend/src/modules/reports - Activity history
backend/src/modules/activity-log - Notifications
backend/src/modules/notification
Runtime services
- Domain services
backend/src/modules - Relational database
backend/src/database/db.ts - Redis cache and sessions
backend/src/core/redis/client.ts - Realtime socket server
backend/src/core/socket/manager.ts - Background workers
backend/src/core/queue/workers
Other components
- Staff and managers
Connections 41
- Staff and managers → React portal: uses
- React portal → Asset workflows: opens workflows
- React portal → Allocation and audit: opens workflows
- React portal → Resource booking: opens workflows
- React portal → Maintenance: opens workflows
- React portal → Dashboard and reports: opens insights
- Asset workflows → HTTP API client: requests data
- Allocation and audit → HTTP API client: requests data
- Resource booking → HTTP API client: requests data
- Maintenance → HTTP API client: requests data
- Dashboard and reports → HTTP API client: requests data
- HTTP API client → Express API router: sends REST
- Express API router → Identity and sessions: dispatches auth
- Express API router → Departments and employees: dispatches org
- Express API router → Asset registry: dispatches assets
- Express API router → Allocation and transfers: dispatches allocation
- Express API router → Resource scheduling: dispatches bookings
- Express API router → Repair workflows: dispatches maintenance
- Express API router → Audit cycles: dispatches audits
- Express API router → Asset categories: dispatches categories
- Express API router → Dashboard and reports: dispatches dashboard
- Express API router → Report generation: dispatches reports
- Express API router → Activity history: dispatches logs
- Express API router → Notifications: dispatches notifications
- Identity and sessions → Domain services: invokes services
- Departments and employees → Domain services: invokes services
- Asset registry → Domain services: invokes services
- Allocation and transfers → Domain services: invokes services
- Resource scheduling → Domain services: invokes services
- Repair workflows → Domain services: invokes services
- Audit cycles → Domain services: invokes services
- Asset categories → Domain services: invokes services
- Dashboard and reports → Domain services: invokes services
- Report generation → Domain services: invokes services
- Notifications → Domain services: invokes services
- Domain services → Relational database: reads and writes
- Domain services → Redis cache and sessions: uses cache
- Domain services → Background workers: queues jobs
- Domain services → Realtime socket server: emits events
- Identity and sessions → Activity history: logs activity
- Report generation → Activity history: logs views