Utugi is a home healthcare gig marketplace for Kenya. Families post care jobs; verified caregivers accept them; payment happens after the visit. Version 1 is to be built completely, and no features beyond those listed here are in scope.
The product serves two sides of a care relationship plus an internal operations team. Families need trustworthy, verified help at home without paying up front. Caregivers need a fair, first-come matching system, clear visit steps, and reliable earnings. Utugi's staff need to verify credentials, watch payments, and handle support and safety cases under strict, role-scoped access to sensitive data.
The audience is Kenyan households arranging home care (elderly care, child care, nursing visits, companionship) and caregivers offering those services, reached primarily on mobile phones. Currency is displayed in the form KSh 1,500. The interface ships with English and Kiswahili i18n scaffolding.
Utugi is a mobile-first web marketplace with three application surfaces: a family (patient) app, a caregiver app, and an admin console, plus a public entry and phone sign-in. One account exists per phone number, with role profiles layered on top. Sign-in is by phone number plus a one-time code, with the SMS provider behind an interface and a development mock. Attempt limits and rate limiting protect the code flow. A Super admin is seeded from the environment variables SUPERADMIN_PHONE and SUPERADMIN_PASSWORD; credentials are never hardcoded.
The core loop is: a family posts a job (who it is for, service, date, time, duration, area, notes); only Verified, online caregivers in the service area who offer that service and are free at that time see it, with only the approximate area shown; the first accept wins under a database row lock and other caregivers get "already taken"; requests expire after a configurable default of 10 minutes; a "request this caregiver again" job is offered to that caregiver first for a short window before opening to others; if nobody accepts, the family sees a no-match state with options to widen time or area, or cancel. On acceptance the caregiver sees the exact address and access notes, and the family sees the caregiver's name, role and badges. The visit moves through En route, Arrived (with a 4-digit arrival code the family gives the caregiver), In progress, and Completed with a confirmation step.
Payment is strictly after the service. Nothing is charged at booking. When the visit is done the family reviews the cost and pays by M-Pesa STK push. Payment states are Awaiting payment, Paid and Overdue; reminders go out on day 1, 3 and 7; after 7 days the case goes to support and the family's new requests pause. Caregiver earnings stay pending until the family pays. Families rate and review, book again, keep favourites, and can set optional recurring care.
Payments run through a PaymentProvider interface with a mock implementation and an M-Pesa Daraja sandbox implementation. Every payment call carries an idempotency key. Payment is confirmed only by the provider webhook, never by the client. No card numbers and no PINs are stored. A double-entry ledger records job total, platform fee, commission and caregiver earnings. Withdrawal to M-Pesa goes through a mocked payout interface. Commission and fees are configurable, not hardcoded.
Caregiver verification tracks per-item statuses (Not submitted, Under review, Action required, Verified, Expired) for ID (photo and selfie), professional licence (nurses), references, certificate of good conduct, and M-Pesa payout number. The online switch is locked until ID and licence are Verified. Documents are stored encrypted and served by short-lived signed URLs. Expiry reminders go out 30 days ahead.
The admin console provides an Overview to-do list (pending verifications, overdue payments, no-match jobs, open support or safety cases), a verification desk with approve, request fix and reject using a reason list, a jobs list with filters and an event trail, payments (awaiting, overdue, reconciliation), support and safety cases with safety reports first, an audit log that cannot be edited, and settings. Role-based access is strict: Verifier sees credentials only; Support sees masked contact details and no health notes; Finance sees payments only; Super admin changes settings, with a second approver for fee changes.
Privacy and safety rules apply throughout: data minimisation; health notes are optional, encrypted and hidden from support by default, and opening them requires a typed reason and is logged; notifications use generic wording; in-app messaging keeps phone numbers from being exchanged; the family app shows "In an emergency, call 999 or 112. Utugi is not an emergency service."; all sample data is labelled as demo; and mock payments, verification or tracking are never presented as real.
Provisioned infrastructure consists of a shared backend process for application APIs and domain modules, a relational database for application-owned persistent data, and a React frontend. The user's stack requires PostgreSQL with Prisma and migrations (explicitly not SQLite or libsql); the provisioned database service is therefore to be run as PostgreSQL, and the backend is to be implemented in Node.js + TypeScript as the user specified. Docker and a Render-ready configuration, .env.example, README and seed script are part of delivery.
Removed from scope
Utugi is delivered as a first-party web application. The public Join page and phone sign-in are anonymously reachable; every other destination requires a signed-in account and is scoped to the role profile(s) on that account. Identity is application-owned because families and caregivers must privately own and resume durable, actor-specific state (their jobs, visits, earnings, verification items, favourites, recurring plans) and because payment obligations and visit confirmations must remain bound to the correct participant.
The one-time code provider sits behind an interface with a development mock; the M-Pesa payment provider sits behind a PaymentProvider interface with a mock and a Daraja sandbox implementation; payouts sit behind a mocked payout interface. These are provider-owned integrations, not separate product surfaces. Payment confirmation is owned by the provider webhook, not by any client screen. Background automation owns request expiry, payment reminders on day 1/3/7, the 7-day overdue escalation to support and request pause, verification expiry reminders 30 days ahead, and the short first-offer window for "request this caregiver again".
Version 1 is the complete current scope described in this document. Nothing is deferred to a future horizon by the user; the "do not add features" constraint means no adjacent capabilities (for example, no card payments, no emergency dispatch, no clinical records beyond the optional health notes) are part of this delivery.
FR-1 — Post a care job (explicit) As a Patient/family, I should post a care job with who it is for, service (Home care assistant, Child care, Nursing visit, Companion), date, time, duration, area and notes, so that matching caregivers can see and accept it.
FR-2 — Matching visibility (explicit) As a Caregiver, I should see only jobs I am eligible for — Verified, online, in the service area, offering that service, and free at that time with no overlap — so that I only see work I can actually take.
FR-3 — First accept wins (explicit) As a Caregiver, I should have my accept win only if I am first, enforced by a database row lock, so that two caregivers can never both be assigned.
FR-4 — Request expiry (explicit) As the system, I should expire requests after a configurable default of 10 minutes, so that stale jobs do not linger.
FR-5 — Request this caregiver again (explicit) As a Patient/family, I should be able to request a specific caregiver again, so that the job is offered to that caregiver first for a short window before opening to others.
FR-6 — No-match state (explicit) As a Patient/family, I should see a clear no-match state with options to widen time or area, or cancel, so that I can recover when nobody accepts.
FR-7 — Acceptance disclosure (explicit) As a Caregiver, I should see the exact address and access notes on acceptance, and as a Patient/family I should see the caregiver's name, role and badges, so that each side knows who and where.
FR-8 — Visit lifecycle (explicit) As a Caregiver, I should move the visit through En route, Arrived (with a 4-digit arrival code the family gives me), In progress, and Completed with a confirmation step, so that the visit is tracked truthfully.
FR-9 — Payment after service (explicit) As a Patient/family, I should review the cost and pay by M-Pesa STK push only after the visit is done, so that nothing is charged at booking.
FR-10 — Payment states and reminders (explicit) As the system, I should track Awaiting payment, Paid and Overdue, and send reminders on day 1, 3 and 7, so that families are reminded and overdue cases escalate.
FR-11 — Earnings pending until paid (explicit) As a Caregiver, I should see earnings stay pending until the family pays, so that I am paid only on confirmed payment.
FR-12 — Rating, review, book again, favourites, recurring (explicit) As a Patient/family, I should rate and review, book again, keep favourites, and set optional recurring care, so that I can re-engage caregivers I trust.
FR-13 — One account per phone number (explicit) As a person, I should have one account per phone number with role profiles on top, so that my identity is stable across roles.
FR-14 — Phone + one-time code sign-in (explicit) As a person, I should sign in with my phone number and a one-time code, with the provider behind an interface and a dev mock, attempt limits and rate limiting, so that access is secure and testable.
FR-15 — Seed Super admin from env (explicit)
As the system, I should seed a Super admin from SUPERADMIN_PHONE and SUPERADMIN_PASSWORD, never hardcoding credentials, so that the first admin exists securely.
FR-16 — PaymentProvider interface (explicit)
As the system, I should use a PaymentProvider interface with a mock implementation and an M-Pesa Daraja sandbox implementation, so that payments are swappable and testable.
FR-17 — Idempotency keys (explicit) As the system, I should attach an idempotency key to every payment call, so that retries never double-charge.
FR-18 — Webhook-only confirmation (explicit) As the system, I should confirm payment only by the provider webhook, never by the client, so that payment state is trustworthy.
FR-19 — No card numbers or PINs (explicit) As the system, I should store no card numbers and no PINs, so that sensitive payment secrets are never persisted.
FR-20 — Double-entry ledger (explicit) As the system, I should record job total, platform fee, commission and caregiver earnings in a double-entry ledger, so that money movement is auditable.
FR-21 — Withdraw to M-Pesa (explicit) As a Caregiver, I should withdraw to M-Pesa via a mocked payout interface, so that I can cash out.
FR-22 — Configurable commission and fees (explicit) As a Super admin, I should change commission and fees without code changes, so that pricing is configurable.
FR-23 — Verification items and statuses (explicit) As a Caregiver, I should submit ID (photo and selfie), professional licence (nurses), references, certificate of good conduct and M-Pesa payout number, each with status Not submitted, Under review, Action required, Verified or Expired, so that my credentials are tracked per item.
FR-24 — Online switch lock (explicit) As a Caregiver, I should have the online switch locked until ID and licence are Verified, so that only verified caregivers go online.
FR-25 — Encrypted documents and signed URLs (explicit) As the system, I should store documents encrypted and serve them by short-lived signed URLs, so that credentials are protected.
FR-26 — Expiry reminders 30 days ahead (explicit) As the system, I should send expiry reminders 30 days ahead, so that caregivers renew in time.
FR-27 — Admin overview to-do list (explicit) As an admin, I should see a to-do list of pending verifications, overdue payments, no-match jobs and open support or safety cases, so that I know what needs attention.
FR-28 — Verification desk decisions (explicit) As a Verifier, I should approve, request fix or reject using a reason list, so that decisions are consistent.
FR-29 — Jobs list with filters and event trail (explicit) As an admin, I should filter jobs and read an event trail, so that I can investigate.
FR-30 — Payments view (explicit) As Finance, I should see awaiting, overdue and reconciliation payments, so that I can reconcile.
FR-31 — Support and safety cases (explicit) As Support, I should handle support and safety cases with safety reports first, so that urgent cases are prioritised.
FR-32 — Health note access with typed reason (explicit) As Support, I should open health notes only with a typed reason, which is logged, so that sensitive data is protected.
FR-33 — Immutable audit log (explicit) As a Super admin, I should read an audit log that cannot be edited, so that history is trustworthy.
FR-34 — Role-based admin access (explicit) As the system, I should enforce that Verifier sees credentials only, Support sees masked contact details and no health notes, Finance sees payments only, and Super admin changes settings with a second approver for fee changes, so that access is least-privilege.
FR-35 — Data minimisation and generic notifications (explicit) As the system, I should minimise data and use generic notification wording, so that sensitive details are not leaked.
FR-36 — In-app messaging (explicit) As a Patient/family and Caregiver, I should message in-app so that phone numbers are not exchanged, so that contact stays on-platform.
FR-37 — Emergency line (explicit) As a Patient/family, I should see "In an emergency, call 999 or 112. Utugi is not an emergency service." in the family app, so that I know Utugi is not an emergency service.
FR-38 — Demo labelling and no false realism (explicit) As the system, I should label all sample data as demo and never present mock payments, verification or tracking as real, so that users are not misled.
FR-39 — Stack and delivery (explicit)
As the system, I should be built with React + TypeScript (mobile-first, responsive), Node.js + TypeScript, PostgreSQL with Prisma and migrations (not SQLite or libsql), Docker and a Render-ready config, .env.example, README and seed script, English and Kiswahili i18n scaffolding, and currency shown as "KSh 1,500", so that delivery matches the specified stack.
FR-40 — Design system (explicit) As the system, I should apply the specified palette, Fraunces headings, Inter body, 14–16 px radii, thin sand borders, one gold button per screen, 44 px minimum touch targets, visible focus states, 4.5:1 contrast, 200% text size support, and the specified logo and tagline, so that the product feels warm and premium.
A Kenyan household arranging care at home — for an elderly parent, a child, a nursing visit, or companionship. They post a job with who it is for, service, date, time, duration, area and notes, and watch matching happen. They see only the approximate area disclosed to caregivers until acceptance, then the caregiver's name, role and badges. During the visit they give the 4-digit arrival code and confirm completion. After the visit they review the cost and pay by M-Pesa STK push; nothing is charged at booking. They rate and review, book again, keep favourites, request a caregiver again, and can set optional recurring care. They see the emergency line and use in-app messaging so phone numbers are not exchanged. Success: a verified caregiver arrives, the visit completes, and payment is made after the fact without surprise charges.
A verified home care worker offering Home care assistant, Child care, Nursing visit or Companion services in a service area. They keep their verification items current (ID photo and selfie, professional licence for nurses, references, certificate of good conduct, M-Pesa payout number) and can only go online once ID and licence are Verified. They see only jobs they are eligible for, with approximate area only, and accept first-come under a row lock. On acceptance they see the exact address and access notes. They move the visit through En route, Arrived (entering the family's 4-digit code), In progress, and Completed with confirmation. They watch earnings stay pending until the family pays, then withdraw to M-Pesa. Success: accepted work, completed visits, and paid earnings.
An admin sub-role that sees credentials only. They work the verification desk, approving, requesting a fix, or rejecting using a reason list, and view documents through short-lived signed URLs. They do not see payments, health notes, or unmasked contact details. Success: consistent, reasoned decisions that keep only qualified caregivers online.
An admin sub-role that handles support and safety cases with safety reports first. They see masked contact details and no health notes by default; opening health notes requires a typed reason and is logged. They receive overdue cases after 7 days. Success: safety cases handled first, sensitive data accessed only with a logged reason.
An admin sub-role that sees payments only. They work awaiting, overdue and reconciliation views. Success: payments reconciled and overdue cases visible.
An admin sub-role that changes settings, including commission and fees, with a second approver for fee changes, and reads an audit log that cannot be edited. Seeded from SUPERADMIN_PHONE and SUPERADMIN_PASSWORD. Success: settings changed safely, fee changes double-approved, and history trustworthy.
Muse: Yves Béhar — humane technology for care at home. Warm, safe, premium; not clinical.
Headline: "Care at home, from people you can trust."
Colour tokens (light mode):
#FFF9EF (ivory)#F5EBDD (cream)#292821 (dark brown)#C69A36 (gold — primary actions and active tabs only)#A87922 (deep gold — hover and link states)#827B70 (taupe)#287D52#B83B36Typography: Headings Fraunces at 500–600 weight, sentence case, tight leading. Body Inter at 400 and 500. Modular scale 1.25: 40/32/24/18/16/14 px. Hero headline clamp(40px, 7vw, 72px).
Shape language: 14–16 px radii on cards, chips and inputs. Thin 1 px sand borders. Soft pill chips for the four services. No sharp corners.
Layout: Mobile-first single column, 16 px gutters. Home puts one request panel first, then current job, upcoming visits, past visits. Cards stack in a calm sequence.
Imagery: Soft natural-light photos of hands, tea cups and home rooms. No stock smiling doctors. Gold house logo with cream heart on every public page.
Logo: Gold house with a cream heart, brown roof, lowercase "utugi" wordmark in dark brown, tagline "All your home healthcare needs under".
Accessibility: 44 px minimum touch targets, visible focus states, 4.5:1 contrast, works at 200% text size.
The public entry is a cream #F5EBDD block that fills the viewport. The gold house logo with cream heart and lowercase "utugi" wordmark sits top left. A large Fraunces headline in dark brown #292821 spans the block: "Care at home, from people you can trust." Beneath it, the subline "Post a care job. A verified caregiver accepts it. You pay after the visit." and one gold button "Find care". A soft natural-light photo of a home room bleeds off the right edge. Below the hero, two choice cards — "I need care" and "I'm a caregiver" — lead to phone sign-in. The tagline "All your home healthcare needs under" sits with the logo lockup. The composition recomposes only accepted content and controls; it adds no new behaviour.
Interaction Model: Animated Motion Tempo: restrained Hero Dimensionality: layered_2d
Landing Hero Motion Brief
.env.example; README; seed script.PaymentProvider interface with mock and M-Pesa Daraja sandbox implementations; mocked payout interface..env.example, README, seed script.
utugi
All your home healthcare needs under one roof
Home care in Kenya
Post a care job. A verified caregiver accepts it. You pay after the visit.
Find care
utugi
All your home healthcare needs under one roof
Home care in Kenya
Post a care job. A verified caregiver accepts it. You pay after the visit.
Find care
No comments yet. Be the first!