<aside> 🔁 Synced from GitHub #d1d1626e881b. Edit in the paidhr-system-docs repository, not here: changes made in Notion are overwritten.

</aside>

Services & repositories

All code lives in the paidhr GitHub organisation.

Backend services

core-backend-service

Project Holds
Core.Backend.Api Controllers, middleware (permissions, sanitisation, user context), Program.cs
Core.Backend.Application Business logic: Implementations/*Service.cs, background workers, DTOs
Core.Backend.Domain Entities and constants (status ids, type ids, permission names)
Core.Backend.Infrastructure DbContexts, repositories, migrations, stored-procedure calls
Core.Backend.Migrator Applies migrations to membership, analytics and every tenant database

ewa-service

Module Purpose
earnings Earnings wallets, daily accrual, withdrawals, invoices, group policies (EWA)
employee, employer EWA's copy of employees and companies, settings, eligibility
fees, payments Withdrawal fees; payment and webhook records
debit-mandate Direct-debit mandates through Mono, for recovering advances
time-tracking Shifts, clock-in/out, timesheets, absences, overtime, terminals (time & attendance)
hiring, ats Job posts, applicants, AI interviews (hiring)
ussd, bot-channel Signed APIs for the USSD/WhatsApp bot (channels)
integrations, data-integration Customer HR/ERP feeds and lending partners (integrations)
warehouse Sync to the reporting warehouse
analytics Product analytics events (Conviso)
sqs Publisher and consumer for the queue shared with core-backend
files, common, user, root Uploads, shared helpers, session helpers, health
christmas-village A seasonal vendor campaign module

wallet-service

Front-end apps

Repo Stack Users
web-app React (Create React App), Tailwind, antd, react-query HR admins, employees, managers, approvers. Mainline branch is develope. See web app.
mobile Flutter, bloc, go_router, dio, Isar Employees. See mobile.
control-battlefield Vite + React (package pade-control-panel) PaidHR staff. See control panel.
customization-app Vite + React Partner portal for white-label resellers: branding, client accounts, delegated access. See white-label.
paidhr-terminal-app Kotlin, Android Wall-mounted clock-in terminals. See terminals.
paid-ussd-whatsapp-bot Python WhatsApp, Telegram, Africa's Talking USSD. See channels.