Skip to content

01Sadja

05Sadja WebSolutions website

From WordPress to Next.js, without losing the links.

Sadja WebSolutions is a software and digital agency in Kampala, and its website is where most new clients find it. The old site ran on WordPress with Elementor. I led the rebuild on Next.js 16 with Payload CMS: I designed the architecture, built the CMS, the routing for three languages and seven markets, and the migration that moved every post, author, image and URL across.

Next.js · Payload CMS · PostgreSQL · TypeScript · Tailwind CSS · Docker · 2026

ShareXLinkedInReddit
sadjawebsolutions.com · Home, live
The Sadja home page between the French version and the portfolio grid

02Highlights

What went into it.

  1. 01

    Every old link still works

    542 explicit 301 redirects from a map kept in the repo and checked in CI. 329 of the 363 WordPress URLs land on their own new page in one hop.

  2. 02

    Three languages, seven markets

    English, French and Swahili for Uganda, Tanzania, DR Congo, Kenya, Rwanda, Nigeria and Gabon, with translated slugs, reciprocal hreflang, and local currency and phone numbers.

  3. 03

    Content moved, not retyped

    Scripts moved 197 posts from Elementor HTML into the CMS editor, with their images, authors and categories. Old WordPress passwords still log in.

  4. 04

    Pages served without the database

    Pages are built static and refresh hourly. Publishing in the CMS clears exactly the pages it affects, and the build passes in CI with no database at all.

  5. 05

    Enquiries land in Zoho

    Every form creates a Zoho Desk ticket, and new prospects become CRM leads after the visitor gets a response. If delivery fails, the form keeps what they typed.

  6. 06

    Accessible in both themes

    A contrast pass took axe from 225 failures to zero across six key pages, in light and dark mode.

03Architecture

How the pieces talk.

One Next.js app with Payload CMS running inside it, on PostgreSQL and Redis, shipped as a single Docker image on Coolify. Media lives in Cloudflare R2, and enquiries go to Zoho.

  1. 01

    Website

    Next.js 16 · React 19 · Tailwind CSS 4

    • One catch-all route; a proxy maps every public URL to its locale, market and page
    • Static pages that refresh hourly, cleared on publish by cache tag
    • Analytics loaded only after consent, without making pages dynamic

    Same process, no HTTP hop

  2. 02

    Payload CMS

    Payload 3 · PostgreSQL · Lexical

    • Pages, services, blog, authors, projects, countries, media and form submissions
    • Fields localized in English, French and Swahili
    • SEO, redirects and form plugins, image sizes generated into R2 on upload

    Enquiries and chat

  3. 03

    Integrations

    Zoho Desk · Zoho CRM · SalesIQ

    • Forms create a Desk ticket and a CRM lead
    • A SalesIQ chat assistant on Claude with signed webhooks and a 4.5-second deadline
    • Spam guard: honeypot, minimum fill time and per-IP limits

04Engineering decisions

Decisions worth explaining.

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

  1. Decision 01

    Run the CMS inside the site

    The brief named Strapi in a separate service. Payload runs inside the Next.js app instead: one container, typed collections, and no network hop between the site and its content. I pinned its version exactly, because it ships breaking changes in minor releases.

    One image and one deploy for the site and the CMS.

  2. Decision 02

    Keep redirects in a file, not a table

    The redirect map is a file in the repo, compiled into the Next.js config and validated in CI. It can't drift, and it doesn't depend on the database being up.

    Old URLs keep working even if the CMS is down.

  3. Decision 03

    Put the locale and market in the cache key

    Every page renders internally at /locale/market/slug, so each variant is cached on its own. Language detection only suggests a switch and never redirects, so search engines always see the same page at the same URL.

    Each variant caches and ranks on its own URL.

  4. Decision 04

    Resize images once, at upload

    The server is a small VM. Payload generates every image size into R2 when a file is uploaded, and a custom loader serves those files, so the server never resizes images on a request.

    No image processing on the server at request time.

06By the numbers

  • 542

    Redirects from WordPress01

  • 197

    Posts migrated02

  • 3 × 7

    Languages × markets03

  • 61

    Service pages04

07The engagement

My role · Lead engineer · Full stack

The brief and the bar.

The brief was a faster site the team could edit without a developer, in English, French and Swahili, for clients across East and Central Africa. The catch was search: years of blog posts and service pages already ranked, and a migration that broke their URLs would throw that away. I wrote the technical spec first, set up the project, the CMS and the locale routing, wrote the WordPress migration and the redirect map, and built most of the pages from the Figma designs.

  • Architecture & spec
  • Payload CMS
  • i18n routing
  • WordPress migration
  • Redirects & SEO
  • Page builds

Project facts

Client
Sadja WebSolutions · in-house
Role
Lead engineer · Full stack
Team
Lead engineer, with the Sadja team
Duration
Aug – Nov 2026
Year
2026
Status
Live

Stack

Built with.

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.

Site
  • Next.js 16
  • React 19
  • TypeScript
  • Tailwind CSS 4
  • Framer Motion
CMS & data
  • Payload 3
  • PostgreSQL 16
  • Redis
  • Cloudflare R2
  • Zod
Integrations
  • Zoho Desk
  • Zoho CRM
  • Zoho SalesIQ
  • Claude API
  • GA4
Delivery
  • Docker
  • Coolify
  • GitHub Actions
  • node:test

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
01

Property platform · Rent management

The Rans home page, Find your perfect property, with a listing for a house in Kajjansi in front

753API endpoints

Rans Solutions

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.

  • Live
  • 2025 — 2026
  • NestJS
  • PostgreSQL
  • Redis
  • Next.js
  • Typesense
  • Expo

Role Lead engineer · Full stack

Explore Rans
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
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