Full-Stack Software Engineer · Nairobi

I build software end to end, from schema to ship.

Five years building production systems. Angular and TypeScript on the front end, Go, Laravel and NestJS on the back end, PostgreSQL underneath, deployed and run on Linux. Today I own the Angular and Go architecture for two enterprise platforms at AA Kenya, and I've shipped multiple live multi-tenant SaaS products that take real M-Pesa payments.

$ angular
~/moses-njehu/profile.jpg ● online
Portrait of Moses Njehu
$ whoami
moses-njehu · software engineer · AA Kenya
// how I build

From idea to product, one engineer across the whole pipeline.

I'm happiest owning a feature through every stage. Here's what that looks like, with real examples from systems I've built.

01ideate

Start with the people doing the work.

Before I write any code I sit with the teams who run the process and look at how the work actually gets done. UrbanBoma started with landlords running their whole business across spreadsheets, M-Pesa messages and a notebook.

  • Map the manual workflow and where money or data goes missing
  • Turn the problem into modules, roles and limits
  • Decide what has to be correct from day one: payments, ledgers, tenancy
discovery/urbanboma.md
painRent tracked across spreadsheets, M-Pesa SMS and a notebook.
painPayroll, stock and accounts live in separate places.
needMany agencies on one deployment, never seeing each other's data.
needA payment that matches nothing must never disappear.
idea →One platform: tenants, rent, double-entry accounts, statutory payroll and maintenance, with resellers able to white-label it.
02architect

Design the system before the screens.

I lead architecture for new systems at AA Kenya: Angular front ends, a Go scheduling microservice, PHP services, and event-driven syncing so shared resources stay consistent without coupling the services together.

  • Schema and data modelling in PostgreSQL first
  • Multi-tenant isolation enforced in one place, not in every query
  • Events and queues between services instead of shared state
architecture/overview.svg
callbacks events angular-portalmembers · NgRx core-system500+ staff · 13 modules mpesa-darajaSTK · C2B · B2C gatewaynginx · caddy · auth scheduling-svcgo · gin · gorm receipting-svcphp · laravel redisqueues · events postgresqltenant-scoped · <200ms
03code

Write the code that holds under pressure.

In the Go training and scheduling service I own, two people booking the same instructor or vehicle at the same moment can't both succeed. The database decides, inside a locked transaction.

  • Angular 19 + NgRx on the front end, Go, Laravel and NestJS behind it
  • Row-level locks around every check-then-write sequence
  • Money stored as integer cents and posted through one journal path
scheduling/booking.gogo
// Two requests for the same slot: one wins, one gets ErrSlotTaken.
func (s *Scheduler) Book(ctx context.Context, r BookingReq) error {
  return s.db.WithContext(ctx).Transaction(func(tx *gorm.DB) error {
    var slot Slot
    // SELECT ... FOR UPDATE: concurrent bookers wait here
    err := tx.Clauses(clause.Locking{Strength: "UPDATE"}).
      Where("instructor_id = ? AND starts_at = ?",
        r.InstructorID, r.StartsAt).
      First(&slot).Error
    if err != nil {
      return err
    }
    if slot.Taken {
      return ErrSlotTaken
    }
    slot.Taken = true
    if err := tx.Save(&slot).Error; err != nil {
      return err
    }
    // other services sync from the event, not from shared tables
    return s.events.Publish(ctx, "slot.booked", slot)
  })
}
04test

Test where it would hurt most.

I aim tests at the highest-risk surfaces: cross-tenant isolation, forged or replayed payment callbacks, and money movement. Every defect I find gets a named regression test behind it.

  • Pest suite on UrbanBoma, 87 PHPUnit feature tests on Tykopass
  • Go testing for the scheduling service
  • Idempotent callbacks: a replay matches nothing and exits
~/urbanboma: php artisan test
$ php artisan test --filter=Critical
 
PASS Tests\Feature\TenantIsolationTest
✓ tenant cannot read another tenant's leases
✓ global scope applies to every tenant model
PASS Tests\Feature\MpesaCallbackTest
✓ rejects callback from non-allowlisted ip
✓ replayed callback cannot mark rent paid twice
✓ unmatched payment lands in suspense account
PASS Tests\Feature\LedgerTest
✓ journal rejects unbalanced debits and credits
 
Tests: 6 passed · 0 failed
05deploy

Ship it, then keep it running.

I deploy and maintain my own stacks on Linux. CI, containers, migrations and reverse proxies, plus monitoring and production incident response once it's live.

  • Docker, Nginx and Caddy on DigitalOcean Linux servers
  • Self-healing queue workers tuned to tight connection limits
  • Hourly reconciliation so ledger drift gets caught, not discovered
deploy · productionmain
$ git push origin main
 
ci lint · pest · go test ./... ✓
build docker image app:3f9c1a2
migrate php artisan migrate --force ✓
workers queue:restart · 9 queues ✓
release caddy reload · zero downtime ✓
health GET /up 200 in 84ms ✓
 
● live on production · linux · digitalocean
06product

The result: software people use every day.

UrbanBoma lets a landlord or agency run the whole business in one place. It has 15 modules, 92 models and 187 named permissions, and it takes real M-Pesa rent payments. I'm its sole architect and developer.

  • Live at urbanboma.com and tykopass.africa
  • AA Kenya receipting platform: 500+ transactions a day
  • Cut the need for 80% of ERP seat licences

View all work

urbanboma.com
UrbanBoma property management dashboard live
5+years building production systems
500+staff on the platforms I architect
10+live SaaS products taking M-Pesa
100+farms on my IoT weighing integration
// experience

Where I've built.

current
Oct 2024 to present
Nairobi · On-site

Full-Stack Software Engineer · AA Kenya

Automotive services: motoring, driver training and member services. 500+ staff.

  • Own the Angular architecture for two flagship platforms: the internal Core System used by 500+ staff (Angular 19, NgRx, 13+ feature modules) and the customer portal that brings every AA service into one place.
  • Built a PHP receipting platform between staff and the ERP, handling 500+ transactions a day and removing the need for 80% of ERP seat licences.
  • Own a Go training and scheduling microservice end to end, with concurrency-safe booking and event-driven syncing of shared resources.
  • Lead architecture for new systems, optimise PostgreSQL to bring target queries under 200ms, and own monitoring and incident response.
Angular 19NgRxGoGinGORMPHPPostgreSQL
Apr 2023 to Aug 2024
Remote

Software Developer · Tion Precision Electronics

Agricultural technology: industrial weighing hardware for farms and agribusiness.

  • Led a multi-tenant ERP, shipping 8 modules on a modular architecture for 5 independent client businesses.
  • Connected Wi-Fi weighing hardware to the ERP so a weight recorded at the scale appears instantly at head office. Deployed across 100+ livestock farms and a milk collection centre, capturing 1,000+ readings a month.
  • Replaced paper weight records with automated capture and server-side validation, so livestock could no longer be sold under true weight.
  • Administered PostgreSQL and deployed the stack on Linux servers.
LaravelPostgreSQLIoTLinux
Jan 2022 to Nov 2022
Nairobi · Hybrid

Software Developer · VertexHub Group Limited

Fintech: payment processing for small and medium businesses.

  • Built and maintained a payment processing service for SME clients (Laravel front end, NestJS back end), including end-of-day reconciliation.
  • Integrated M-Pesa, bank and SACCO payment rails, and documented the APIs for clients.
  • Administered PostgreSQL and handled deployments and server configuration on Linux.
NestJSLaravelM-PesaPostgreSQL
Oct 2021 to Dec 2021
Nairobi · Hybrid

Software Developer Intern · VertexHub Group Limited

  • Built an e-commerce platform on Magento, including SEO optimisation and general site development.
Sep 2017 to Oct 2021

BSc. Computer Science · Chuka University

// selected work

Products I've designed, built and shipped.

UrbanBoma live

Property management SaaS. Tenants, rent, accounts, payroll and maintenance stock in one place, for landlords and agencies across Kenya.

15 modules92 models112 migrations187 permissions
  • Single-database multi-tenancy: tenant-ID row scoping enforced by a global query scope, plus a platform → reseller → tenant hierarchy for white-label partners.
  • Double-entry accounting core: one journal path validates debits against credits, uses integer cents, and traces every line back to its source.
  • M-Pesa pipeline (STK, C2B, B2C): four independent safeguards, so a forged or repeated callback can't mark rent paid twice.
  • Kenya statutory payroll: PAYE, NSSF, SHA and Housing Levy, with rates held as configuration so past payrolls reproduce exactly.
Laravel 12PHP 8.2PostgreSQLLivewirePest
urbanboma.com
urbanboma.com
UrbanBoma screenshot

Tykopass live

Event ticketing and organiser finance. The public pays with M-Pesa and gets a QR ticket instantly. Organisers get wallets, payouts, invoices, sales agents and commissions.

85 models161 migrations87 feature tests
  • Pooled-funds ledger: organiser wallets record claims against the platform pool, and every movement writes balance-before and balance-after inside a transaction.
  • Concurrency-safe issuance: row-level locks so the callback, its retry and an organiser's click can't all issue the same ticket.
  • Idempotent callbacks and one fee service, so the price shown is the price charged on every path.
  • Drift treated as expected: hourly reconciliation, daily balance snapshots and a rebuild-from-source path.
Laravel 12MySQLLivewire 3M-Pesa Daraja
tykopass.africa
tykopass.africa
Tykopass screenshot

More projects

AA Kenya Website and CMS
three js · gsap . laravel

AA Kenya Website and CMS

Main AA Kenya website and content management system. Still in development

View project
AA Kenya Services Portal
go . angular · microservices

AA Kenya Services Portal

Self-service portal where members can access all AA Kenya services.

View project
Tion ERP
multi-tenant erp · postgresql

Tion ERP

Integrated business suite covering CRM, eCommerce, accounting, inventory, point of sale and projects. 8 modules for 5 client businesses.

View project
Kivutha Herdsman
laravel · iot · wi-fi scales

Kivutha Herdsman

Dairy management app in Laravel, with weigh scale to application data transmission over Wi-Fi.

demo login

moses.njehu.n@gmail.com / Qwerty123!

View project
Dairy Collections
laravel · real-time · iot

Dairy Collections

Transmits real-time weight readings from a manual weighing scale to the application over Wi-Fi.

demo login

moses.njehu.n@gmail.com / Qwerty123!

View project
Payment processing platform
nestjs · postgresql · m-pesa

Payment Processing Backend

Multi-tenant M-Pesa platform backend for managing paybill and till transactions.

Private repo: ask for access
Merchant dashboard
laravel · bootstrap

Merchant Dashboard

Front end for the payment platform's APIs. Lets each merchant view, manage and run the operations their role allows.

Private repo: ask for access
Authentication scaffold
nestjs · jwt · postgresql

Splace Backend

Backend scaffold with an auth API that issues expiring JWTs scoped to the caller's permissions.

Source
MyNotes Flutter app
flutter · bloc · firebase

MyNotes

Flutter app that syncs notes to the cloud, with CRUD, authentication and sharing, built on the BLoC pattern.

Source
Monje Partners
react · node · mongodb

Monje Partners

E-commerce application built with React, Node.js and MongoDB. Best viewed on desktop.

View project
// stack

The tools I reach for.

Frontend

Angular 19NgRxTypeScriptRxJSLivewire 3BladeTailwind

Backend

Go · Gin · GORMLaravel 12NestJSREST APIsMicroservicesEvent-drivenQueues

Data

PostgreSQLMySQLRedisData modellingQuery optimisationMulti-tenancy

Infrastructure

LinuxDockerDigitalOceanNginxCaddyCI/CDMonitoring

Testing & integrations

PestPHPUnitGo testingM-Pesa DarajaBank & SACCO railsIoT ingestion
engineer.tsts
export const moses: Engineer = {
  role: "Full-Stack Software Engineer",
  based: "Nairobi, Kenya",
  experience: 5, // years
  frontend: ["Angular", "NgRx", "RxJS"],
  backend: ["Go", "Laravel", "NestJS"],
  data: "PostgreSQL",
  runsOn: "Linux",
  payments: ["STK Push", "C2B", "B2C"],
  languages: ["English", "Swahili"],

  owns(feature: Feature) {
    return ["schema", "api", "ui",
            "tests", "deploy", "support"];
  },
};
// writing

Notes from the work.

NestJS logo
medium · node.js

Why NestJS

NestJS is a powerful and innovative framework for building scalable, high-performance web applications with Node.js...

Read article →
// contact

Have a system to build? Let's talk.

I'm open to full-stack and backend roles, and to conversations about architecture, payments and multi-tenant SaaS.