How poojasree-b/intelligent-allocator works
Intelligent Allocator is a workforce-allocation platform: employers describe projects, rank suitable employees, and send requests; employees accept or decline, then follow plans and log hours. The backend owns authorization, allocation capacity checks, and persistent state, while a separate recommender supplies rankings. The graph follows the documented workflow and major capabilities; detailed internal calls are not shown for most unsampled modules, so edges rely on README statements or the supplied excerpts rather than assumed wiring.
Main entry points: client.js API client · AllocationService.java Allocation decisions · AllocationRepository.java MySQL data · App.jsx Role-based workspace
Components 24
Web application
- Role-based workspace
frontend/src/App.jsx - API client
frontend/src/api/client.js - Project posting
frontend/src/pages/employer/ProblemFormPage.jsx - Candidate views
frontend/src/pages/employer/TalentPage.jsx - Employee workspace
frontend/src/pages/employee/RequestsPage.jsx - Plan workspace
frontend/src/pages/PlanPage.jsx
Allocation API
- Project API
backend/src/main/java/com/intelligentallocator/web/EmployerController.java - Ranking API
backend/src/main/java/com/intelligentallocator/web/RankingController.java - Allocation decisions
backend/src/main/java/com/intelligentallocator/service/AllocationService.java - Employee profile
backend/src/main/java/com/intelligentallocator/service/EmployeeProfileService.java - Document skills
backend/src/main/java/com/intelligentallocator/service/DocumentService.java - Authentication
backend/src/main/java/com/intelligentallocator/service/AuthService.java - Mail service
backend/src/main/java/com/intelligentallocator/service/MailService.java
Candidate matching
- Ranker integration
backend/src/main/java/com/intelligentallocator/matching/RankerClient.java - Fallback ranking
backend/src/main/java/com/intelligentallocator/matching/FallbackRanker.java - Ranking service
recommender/app.py - Scoring model
recommender/ranker/model.py
Employee work
- Project planning
backend/src/main/java/com/intelligentallocator/service/PlanService.java - Weekly goals
backend/src/main/java/com/intelligentallocator/service/WeeklyGoalService.java
Persistent state
- MySQL data
backend/src/main/java/com/intelligentallocator/repository/AllocationRepository.java - Audit trail
backend/src/main/java/com/intelligentallocator/service/AuditService.java - Skill catalogue
backend/src/main/java/com/intelligentallocator/catalog/CatalogBootstrap.java
Other components
- Employer
- Employee
Connections 35
- Employer → Role-based workspace: uses
frontend/src/App.jsx - Employee → Role-based workspace: uses
frontend/src/App.jsx - Role-based workspace → Project posting: routes to
frontend/src/App.jsx - Role-based workspace → Candidate views: routes to
frontend/src/App.jsx - Role-based workspace → Employee workspace: routes to
frontend/src/App.jsx - Role-based workspace → Plan workspace: routes to
frontend/src/App.jsx - Project posting → API client: submits through
- Candidate views → API client: requests through
- Employee workspace → API client: requests through
- Plan workspace → API client: requests through
- API client → Project API: calls API
README.md - API client → Ranking API: calls API
README.md - API client → Allocation decisions: calls API
README.md - API client → Project planning: calls API
README.md - Project API → MySQL data: persists projects
README.md - Ranking API → Ranker integration: requests ranking
- Allocation decisions → Ranker integration: gets ranking
backend/src/main/java/com/intelligentallocator/service/AllocationService.java - Ranker integration → Ranking service: HTTP ranking
README.md - Ranking service → Scoring model: scores candidates
recommender/app.py - Ranker integration → Fallback ranking: falls back
README.md - Allocation decisions → MySQL data: checks capacity
README.md - Allocation decisions → Employee: sends request
README.md - Employee → Allocation decisions: accepts or declines
README.md - Allocation decisions → Project planning: creates plan
README.md - Project planning → MySQL data: stores plan
README.md - Project planning → Weekly goals: plans work weeks
- Employee → Project planning: logs hours
README.md - Employee profile → MySQL data: stores profile
- Document skills → MySQL data: stores documents
- Employee workspace → Employee profile: manages skills
- Employee workspace → Document skills: uploads documents
- Authentication → MySQL data: stores accounts
- Authentication → Mail service: sends reset mail
backend/src/main/java/com/intelligentallocator/service/AuthService.java - Allocation decisions → Audit trail: records actions
backend/src/main/java/com/intelligentallocator/service/AllocationService.java - Skill catalogue → MySQL data: loads catalogue