MNCPeople by Manga Capital

API Gateway — Staff & Leave Management System

How to authenticate

  1. Open Auth Service → POST /login
  2. Enter admin credentials and execute
  3. Copy the access_token from the response
  4. Open any service docs below → click Authorize → paste the token

Services

Auth

Auth Service

Login, logout, refresh, user management. Roles: admin, manager, staff, owner.

/api/auth/docs — :4001
Core

Staff Service

Staff profiles, contact details, statutory IDs, insurance, emergency contacts, work locations, leave balances.

/api/staff/docs — :8000
Core

Leave Service

Leave requests (Annual, Sick, Emergency, Unpaid), approval workflow, balance tracking. Kenya Employment Act — 21 days.

/api/leave/docs — :8001
Core

Notifications Service

Email notifications — leave alerts, reminders, birthday and work anniversary messages.

/api/notifications/docs — :8002
Property

Property Service

MNC Property portfolio: properties, units, tenants, leases, rent collection, deposits, operations, bank accounts, reminders and dashboard.

/api/property/docs — :8004
MNC

MNC Core Service

Dashboard, team calendar, .ics export, birthday/anniversary reminders, announcements, settings, audit log. Also handles staff document uploads (R2 storage, role-based access).

/api/mnc/docs — :8006