Skip to content

01Rans

01Rans Solutions

Uganda's rentals, from listing to rent receipt.

Rans is a property platform for Uganda, the first of its kind there. People search homes for rent and for sale, and landlords, property managers and agents run their tenancies on it: rental applications and screening, leases, rent collection, repairs and owner reports. I lead its engineering at Sadja WebSolutions and wrote most of the code: the NestJS API, the Next.js marketplace, the dashboards and the admin console. An Expo mobile app is in development.

NestJS · PostgreSQL · Redis · Next.js · Typesense · Expo · 2025 — 2026

ShareXLinkedInReddit
Rans · Marketplace home, live
The Rans home page between a house listing and rental listings in Royal Estate, Jinja

02Highlights

What went into it.

  1. 01

    Rent, from invoice to receipt

    The ledger generates what each tenant owes every night, sends reminders, flags overdue rent and issues receipts. Tenants pay by mobile money, card or bank through Pesapal, and landlords can record cash.

  2. 02

    Tenancy law, in code

    A signed lease above a rent threshold, rent increases capped at 10% a year with 60 days' notice, notice periods by payment frequency, and a late-rent process that escalates on day 21, 30 and 60.

  3. 03

    Instant search across 639 listings

    Typesense answers as people type and draws real area borders on the map. If it is slow or down, PostgreSQL answers instead.

  4. 04

    One console for the platform

    A 95-page admin console with scoped admin roles. Any route without a permission rule is open to the super admin only.

  5. 05

    Personal data masked by default

    Every response hides the middle of other people's emails and phone numbers unless the viewer has dealings with that person.

  6. 06

    Jobs you can watch

    31 scheduled jobs run in Kampala time. Each run is recorded, and a platform health page shows any job that missed its slot.

03Architecture

How the pieces talk.

A Next.js app for the marketplace, dashboards and admin, on a NestJS API backed by PostgreSQL and Redis. Background work runs on BullMQ queues and cron jobs, search runs on Typesense, and files live in Cloudflare R2.

  1. 01

    Web app

    Next.js 16 · React 19 · TanStack Query

    • Public marketplace: search, listings, agents, agencies, articles, careers
    • Dashboards for tenants, landlords, agents, brokers and service providers
    • 95-page admin console
    • Sessions refreshed a minute before they expire, JSON-LD and a live sitemap

    REST, Socket.IO and direct search

  2. 02

    API

    NestJS 11 · PostgreSQL · Redis · BullMQ

    • 50 feature modules, 115 entities, 753 endpoints
    • Rent ledger, leases, late rent, inspections, repairs, owner reports
    • Wallet ledger and Pesapal payments, with de-duplicated webhooks checked against Pesapal
    • Socket.IO chat and an AI assistant that searches listings and books tours

    Changes synced after each commit

  3. 03

    Search and storage

    Typesense · Cloudflare R2

    • Listing changes queued and bulk-imported into Typesense after the database commits
    • A catch-up pass every 20 seconds picks up any write the queue missed
    • Public and private buckets, private files served through signed URLs

04Engineering decisions

Decisions worth explaining.

The calls that shaped the build, why I made them, and what they bought the client.

  1. Decision 01

    Money is a ledger, not a number

    Wallet balances change only through one ledger service. Amounts are integers in minor units, every posting carries an idempotency key, accounts are locked in id order so two payments never deadlock, and reversals are new entries, never edits. Every night a job rebuilds each balance from its entries and reports any difference.

    Every balance traces back to the entries that made it.

  2. Decision 02

    Put the tenancy rules in the platform

    Landlords should not have to know the notice periods or when a demand letter is due. The legal rules and the late-rent steps live in the backend as admin settings, so they can change once a lawyer confirms them.

    Every tenant goes through the same process.

  3. Decision 03

    Search that never goes blank

    Next.js runs server actions one at a time per tab, which queued every keystroke. Search now calls the API straight from the browser, cancels stale requests, and falls back to PostgreSQL for a minute whenever Typesense times out.

    Results as people type, even during a search outage.

  4. Decision 04

    Sessions the backend controls

    Refresh tokens are single-use. Replaying an old one ends the whole session, while two tabs refreshing at once count as one. Sessions expire after idle time and a 90-day cap, and sensitive actions ask for a second check.

    Users see and end their sessions from settings.

06By the numbers

  • 753

    API endpoints01

  • 227

    Web pages02

  • 115

    Database entities03

  • 31

    Scheduled jobs04

07The engagement

My role · Lead engineer · Full stack

The brief and the bar.

The platform has to serve a landlord with one house and a company managing many buildings, take rent by mobile money, card, bank or cash, and follow Uganda's tenancy law. I own the architecture and wrote around 90% of the API and the web app. Each major feature starts as a numbered design plan in the repo. Other engineers joined for shorter stretches, and I reviewed and merged their work.

  • System architecture
  • Backend API
  • Payments & ledger
  • Web app
  • Admin console
  • Search
  • Code review

Project facts

Client
Rans Property Solutions · Sadja WebSolutions
Role
Lead engineer · Full stack
Team
Lead, 6 engineers contributed over time
Duration
Jun 2025 – present
Year
2025 — 2026
Status
Live

Stack

Built with.

Uganda's property marketplace and rent management platform: listings, applications, leases, rent collection and owner reports. I lead the engineering and wrote most of the NestJS API, the Next.js marketplace, dashboards and admin console.

Backend
  • NestJS 11
  • TypeORM
  • PostgreSQL
  • Redis
  • BullMQ
  • Socket.IO
Web
  • Next.js 16
  • React 19
  • TanStack Query
  • Auth.js
  • Tailwind CSS 4
  • Zustand
Search & infra
  • Typesense
  • Cloudflare R2
  • Pesapal
  • Strapi
  • Coolify
  • GitHub Actions
Mobile
  • Expo SDK 54
  • React Native
  • Expo Router

Talk it through

Ask me anything.

Every number on this page has trade-offs behind it. I am happy to walk through the decisions, the mistakes and what I would do differently.

08More work

More from the lineup.

All projects
02

Mobile app · Live events

The KLife Choose Activity screen on a phone in a jeans pocket

7 wksFigma to app stores

KLife fitness app

Krystal Water's fitness app and the live results system behind the Kampala Cancer Run. iOS and Android app, web admin and a real-time NestJS backend, designed and built end to end.

  • Live
  • 2026
  • Expo
  • React Native
  • NestJS
  • PostgreSQL
  • Redis
  • Next.js

Role Lead engineer · Full stack

Explore KLife
03

Corporate site · Recruitment

The Hariss International home page, What's Up campaign, on a desktop monitor

96Lighthouse performance

Hariss International

A new digital home for the maker of Riham, Oner and Sky View: a fast, editor-run Next.js site on Strapi 5, with a recruitment platform built in for HR.

  • Live
  • 2026
  • Next.js
  • Strapi 5
  • TanStack
  • PostgreSQL
  • Cloudflare R2

Role Lead engineer · Full stack

Explore Hariss
04

Corporate site · Catalogue

The Mukwano home page with the Sunseed hero, tilted over green hills

25Brands, one catalogue

Mukwano Group

The corporate site and product catalogue for Mukwano Group: seven divisions and 25 consumer brands, from Nomi and Roki to Sunseed. Editors run all of it from Strapi, and every change is live in seconds.

  • Live
  • 2025 — 2026
  • Next.js
  • Strapi 5
  • Tailwind
  • Redis
  • Docker

Role Lead frontend engineer

Explore Mukwano
05

Company website · CMS migration

The Sadja home page, Uganda's partner for websites, apps and digital growth, with the French version in front

542Redirects from WordPress

Sadja WebSolutions website

The rebuild of Sadja's own website, from WordPress to Next.js 16 and Payload CMS. Three languages, seven markets, 197 migrated posts and 542 redirects, so every old link still lands somewhere useful.

  • Live
  • 2026
  • Next.js
  • Payload CMS
  • PostgreSQL
  • TypeScript
  • Tailwind CSS
  • Docker

Role Lead engineer · Full stack

Explore Sadja
06

Health platform · Web app

The Génie Santé home page, Votre santé, notre intelligence, with the patient app on a phone in front

7Role dashboards

Génie Santé

Web platform for a digital health startup in the DR Congo: AI symptom checks, doctor consultations and mobile money payments. I led the build: the French marketing site, onboarding and seven role dashboards in one Next.js 16 app, deployed on every merge.

  • Shipped
  • 2026
  • Next.js
  • React
  • TypeScript
  • Tailwind CSS
  • TanStack
  • Docker

Role Lead engineer · Web platform

Explore Génie Santé
07

Admin dashboard · Marketing site

The Telex admin dashboard overview with notification counts, channel metrics and an invite dialog in front

−30%Load time

Telex, now Zedu

Real-time event alerts for engineering teams, built at HNG. I led five frontend engineers on the admin dashboard and worked on the marketing site. Shipped a week early with zero critical bugs.

  • Shipped
  • 2024
  • Next.js
  • React
  • Tailwind CSS

Role Frontend team lead

Explore Telex
08

Developer tool

200+

Active users

STEMSEL online IDE

Browser IDE students use to program STEMSEL IoT chips. Worked on the editor and UI, and trimmed its loading time.

  • Shipped
  • 2023
  • JavaScript
  • IoT
  • Web

Role Frontend engineer

Explore STEMSEL
09

Client work

5+

Projects led

Client platforms at Sadja

Web apps, dashboards and APIs for clients, delivered on schedule. I own timelines, code review and deployment.

  • Ongoing
  • 2025 —
  • Next.js
  • Zustand
  • Node.js
  • Docker

Role Lead software engineer

Explore Sadja
10

This site

RSC

Server first

This portfolio

Next.js App Router with Payload CMS on Postgres. Server-rendered by default, with light, dark and auto themes.

  • Live
  • 2026
  • Next.js
  • Payload
  • Postgres
  • Vercel

Role Design & build

Explore Portfolio

Kampala, Uganda · Remote

Build what's next.

Hiring for a lead or senior engineer, or need a product built? Tell me what you are working on.

Get in touch