How We Built STXpress: Taking a Ugandan Retailer from Pen and Paper to 500+ Daily Orders | Cave Motions
Engineering May 24, 2026 10 min read

How We Built STXpress: Taking a Ugandan Retailer from Pen and Paper to 500+ Daily Orders

A real case study in digital transformation - how Cave Motions engineered a full e-commerce platform that turned manual chaos into streamlined revenue.

How We Built STXpress: Taking a Ugandan Retailer from Pen and Paper to 500+ Daily Orders

When STXpress came to us, they were running a growing retail business the way most Ugandan retailers do: handwritten receipts, a WhatsApp group for orders, and a notebook tracking who owed what. It worked at 20 customers a day. At 200, it was breaking. At 500, they were bleeding revenue through missed orders, double-booked stock, and customers who simply gave up waiting.

The Starting Point: Manual Everything

Their workflow before we touched anything: customer messages on WhatsApp → staff writes order on paper → someone checks physical stock → price calculated manually → delivery arranged by phone → payment tracked in a school exercise book.

Each order touched at least three people. Errors were inevitable. Stock counts were always wrong because someone forgot to update the spreadsheet after a sale. Month-end reconciliation took three full days and the numbers never quite matched. The owner knew they were losing money - they just couldn't see where.

"We knew we were leaving money on the table. We just didn't know how much - or where it was going." - STXpress Founder

What We Built: Not Just a Website - a Revenue Engine

STXpress didn't need a pretty online store. They needed a system that made selling easier than not selling. Here's the stack we engineered:

  • Next.js frontend - Lightning-fast product pages that load in under 2 seconds even on 3G connections. SEO-optimised so customers find products through Google, not just WhatsApp.
  • Prisma + PostgreSQL backend - A single source of truth for inventory, orders, customers, and payments. No more "which spreadsheet has the real numbers?"
  • Flutterwave payment integration - Mobile money (MTN, Airtel), card payments, and bank transfers - all in one checkout. Customers pay how they want.
  • Real-time inventory sync - When something sells online, stock updates everywhere instantly. No double-selling. No "sorry, we just ran out" calls.
  • Admin dashboard - The owner sees daily revenue, top products, pending orders, and customer trends on one screen. No more waiting for end-of-month reports.

The Hard Parts Nobody Talks About

Integrating mobile money in Uganda isn't plug-and-play. Flutterwave's API is solid, but payment confirmation can lag by minutes on congested networks. We built a reconciliation engine that checks pending payments every 60 seconds and confirms orders the moment the money clears - eliminating "I paid but my order says pending" calls entirely.

We also designed for unreliable internet. Product images lazy-load at low resolution first, then progressively enhance. The checkout flow works on a 2G connection. Because for many Ugandan customers, that's the reality. We can't change the infrastructure - but we can make our software resilient to it.

The Results: By the Numbers

Six months after launch, the numbers spoke for themselves:

  • 500+ daily orders processed with zero manual intervention
  • Order errors dropped 94% - from ~15 per day to less than 1
  • Month-end reconciliation went from 3 full days to 10 minutes
  • Revenue grew 40% - not from new marketing spend, but from capturing orders that were previously falling through the cracks
  • Repeat purchase rate jumped from 22% to 61% - because the experience was fast and reliable
  • Staff productivity improved by an estimated 30% - staff redirected from manual data entry to customer service and sales

The Real Lesson

STXpress didn't need a website. They needed a system that made selling easier than not selling. The technology - Next.js, PostgreSQL, Flutterwave - was the how. The why was simpler: every order that doesn't get lost is revenue you already earned but weren't collecting.

We just built the pipes to catch it.

Running a retail business that's outgrowing its processes? Let's talk. We'll analyse your current workflow and show you exactly what a custom platform would look like for your operation - with a fixed-price proposal within 48 hours.

Ready to build something? Let's talk.

Whether you need a custom platform, a website refresh, or AI automation — we're the Kampala team that delivers.

Start a project