How ahmedbenkrarayc/nexus-backend-core works
Nexus is a Spring-based workforce and project staffing application. Its central workflow covers project staffing requests, candidate and availability assessment, resource-manager review, and employee engagements; surrounding capabilities manage employee profiles, skills, absences, responsibilities, campuses, and project records. The tree and source index establish these domain areas, but most implementations and staffing routes were not excerpted, so those relationships are shown as unverified dashed links. The visible controller-to-service edges are supported by the source index.
Main entry points: staffing/controller Staffing APIs · employee/controller Employee APIs · NexusCoreApplication.java Nexus application · CandidateMatchingServiceImpl.java Candidate matching
Components 26
Staffing workflow
- Staffing APIs
nexus-staffing/src/main/java/com/nexus/staffing/controller - Request review
nexus-staffing/src/main/java/com/nexus/staffing/service/impl/ResourceManagerRequestServiceImpl.java - Candidate matching
nexus-staffing/src/main/java/com/nexus/staffing/service/impl/CandidateMatchingServiceImpl.java - Candidate scoring
nexus-staffing/src/main/java/com/nexus/staffing/util/EmployeeScoringEngine.java - Project staffing
nexus-staffing/src/main/java/com/nexus/staffing/service/impl/ProjectManagerStaffingServiceImpl.java - Employee self-service
nexus-staffing/src/main/java/com/nexus/staffing/service/impl/EmployeeSelfServiceServiceImpl.java - Staffing dashboard
nexus-staffing/src/main/java/com/nexus/staffing/service/impl/DashboardServiceImpl.java - Staffing records
nexus-staffing/src/main/java/com/nexus/staffing/repository
Employee management
- Employee APIs
nexus-employee/src/main/java/com/nexus/employee/controller - Employee profiles
nexus-employee/src/main/java/com/nexus/employee/service/impl/EmployeeServiceImpl.java - Absence management
nexus-employee/src/main/java/com/nexus/employee/service/AbsenseService.java - Skill management
nexus-employee/src/main/java/com/nexus/employee/service/impl/EmployeeSkillServiceImpl.java - Manager assignments
nexus-employee/src/main/java/com/nexus/employee/service/EmployeeResponsibilityService.java - Employee records
nexus-employee/src/main/java/com/nexus/employee/repository - Auth client
nexus-employee/src/main/java/com/nexus/employee/client/AuthServiceRestClient.java
Projects and organization
- Project API
nexus-project/src/main/java/com/nexus/project/controller/ProjectController.java - Project records
nexus-project/src/main/java/com/nexus/project/service/impl/ProjectServiceImpl.java - Project database
nexus-project/src/main/java/com/nexus/project/repository/ProjectRepository.java - Campus API
nexus-organization/src/main/java/com/nexus/organization/controller/CampusController.java - Campus records
nexus-organization/src/main/java/com/nexus/organization/service/impl/CampusServiceImpl.java - Campus database
nexus-organization/src/main/java/com/nexus/organization/repository/CampusRepository.java
Platform services
- JWT authentication
nexus-shared/src/main/java/com/nexus/shared/security/filter/JwtCookieAuthenticationFilter.java - JWT validation
nexus-shared/src/main/java/com/nexus/shared/security/service/JwtValidationService.java - Nexus application
src/main/java/com/nexus/core/NexusCoreApplication.java
Other components
- Application user
- Auth service
Connections 29
- Application user → Staffing APIs: submits requests
- Staffing APIs → Request review: routes review
- Staffing APIs → Candidate matching: routes search
- Staffing APIs → Project staffing: routes staffing
- Staffing APIs → Employee self-service: routes self-service
- Staffing APIs → Staffing dashboard: routes dashboard
- Candidate matching → Candidate scoring: scores candidates
- Request review → Staffing records: reads and writes
nexus-staffing/src/main/java/com/nexus/staffing/service/impl/ResourceManagerRequestServiceImpl.java - Candidate matching → Employee records: checks employees
- Application user → Employee APIs: manages profile
- Employee APIs → Absence management: calls service
nexus-employee/src/main/java/com/nexus/employee/controller/AbsenseController.java - Employee APIs → Employee profiles: routes employee work
- Employee APIs → Skill management: routes skill work
- Employee APIs → Manager assignments: routes assignments
- Employee profiles → Employee records: reads and writes
- Absence management → Employee records: stores absences
- Auth client → Auth service: calls auth API
- Application user → Project API: manages projects
- Project API → Project records: calls service
nexus-project/src/main/java/com/nexus/project/controller/ProjectController.java - Project records → Project database: reads and writes
nexus-project/src/main/java/com/nexus/project/service/impl/ProjectServiceImpl.java - Application user → Campus API: manages campuses
- Campus API → Campus records: calls service
nexus-organization/src/main/java/com/nexus/organization/controller/CampusController.java - Campus records → Campus database: reads and writes
- Application user → JWT authentication: presents cookie
- JWT authentication → JWT validation: validates token
- Nexus application → Staffing APIs: hosts module
- Nexus application → Employee APIs: hosts module
- Nexus application → Project API: hosts module
- Nexus application → Campus API: hosts module