How oliceglad/benefit works
Benefit is a microservice platform for matching candidates to vacancies. The user-facing path runs through the API gateway to authentication and service APIs; candidates build profiles and employers publish vacancies, while matching and assessment support candidate selection. Applications and invitations connect the parties, with chat and notifications supporting follow-up. The README documents service boundaries and several cross-service flows; unsampled feature internals are represented at their service paths, and only documented relationships are connected.
Main entry points: applications.py Applications · profiles.py Candidate profile · services Chat and tasks · app Notifications
Components 18
Access and identity
- API gateway
- Authentication
backend/auth-service/app
Talent and vacancies
- Core API
backend/core/app - Candidate profile
backend/candidate-service/app/services/profiles.py - Employer vacancies
backend/employer-service/app/services/employers.py - Talent matching
backend/matching-service/app/services
Selection workflow
- Assessment tests
backend/assessment-service/app/services - Applications
backend/applications-service/app/services/applications.py - Invitations
backend/applications-service/app/services/invitations.py
Communication
- Chat and tasks
backend/chat-service/app/services - Notifications
backend/notification-service/app - Email delivery
backend/mail-service/app
Shared delivery
- Outbox delivery
backend/libs/benefit-common/benefit_common/outbox.py - Internal API
backend/libs/benefit-common/benefit_common/internal.py
Other components
- Candidate
- Employer
- FSP ID
backend/fsp-id-mock/app/main.py - Keycloak
Connections 25
- Candidate → API gateway: uses API
- Employer → API gateway: uses API
- API gateway → Authentication: routes auth
- API gateway → Candidate profile: routes profiles
- API gateway → Employer vacancies: routes vacancies
- API gateway → Assessment tests: routes tests
- API gateway → Applications: routes applications
- API gateway → Invitations: routes invitations
- API gateway → Chat and tasks: routes chat
- API gateway → Notifications: routes notifications
- API gateway → Talent matching: routes talent
- API gateway → Core API: routes remaining
- Authentication → FSP ID: supports OIDC
backend/fsp-id-mock/app/main.py - Authentication → Keycloak: supports OIDC
- Assessment tests → Candidate profile: updates via outbox
- Assessment tests → Outbox delivery: records events
- Applications → Outbox delivery: records events
backend/applications-service/app/services/applications.py - Outbox delivery → Notifications: delivers events
backend/notification-service/app/api/internal/router.py - Notifications → Email delivery: duplicates by email
- Applications → Chat and tasks: creates conversation
backend/applications-service/app/services/applications.py - Applications → Candidate profile: grants contact access
backend/applications-service/app/services/applications.py - Chat and tasks → Notifications: publishes notifications
backend/chat-service/app/services/delivery.py - Chat and tasks → Candidate profile: publishes activity
backend/chat-service/app/services/delivery.py - Applications → Employer vacancies: checks vacancy
backend/applications-service/app/services/applications.py - Applications → Candidate profile: checks profile
backend/applications-service/app/services/applications.py