<aside> 🔁 Synced from GitHub #d1d1626e881b. Edit in the paidhr-system-docs repository, not here: changes made in Notion are overwritten.
</aside>
All code lives in the paidhr GitHub organisation.
| 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 |
Admin/* (HR dashboard), Employee/* (self-service), Control/* (PaidHR staff), Performance_V2/{Admin,Employee,HOD,Manager,Arc}, Whitelabel/Agents, plus top-level ones such as AccountController, EwaController and IntegrationController.Program.cs. See scheduled jobs.@nestjs/schedule crons, OpenTelemetry tracing.src/modules):| 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 (nearly everything), earned-wage-access (a read connection to EWA's MongoDB), common, root.services/providers): Bmoni, VFD, Flutterwave, Leatherback, Capricorn, Monnify, Paga, OnePipe, Premium Trust, VertoFX, Oktopus, MontyMobile; Termii and Infobip for SMS.| 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. |