← Back to Work
Case Study 01 · Platform & Infrastructure

Building Infrastructure for a Learning Platform Serving 5,000+ Students Across Africa

How I helped transform a simple website into infrastructure capable of serving thousands of students across Africa—without scaling operational complexity.

Scale reached15 CountriesActive distributed learning hubs.
Data Reduction40% Less DataOptimized for cost-sensitive environments.
Operations50% Admin CutAutomated cohort enrollment and progress tracking.
Tech ProofO(1) Reads & Edge AuthHardened system design built for growth.

The Problem

When the Africa Students Network launched its accelerator programs, the organization faced a scaling bottleneck. The existing setup worked when operations were small: a marketing website, manual processes, spreadsheets, and direct coordination. It stopped working once hundreds—and eventually thousands—of students needed access to learning materials, progress tracking, applications, and cohort management.

The organization needed to serve students across multiple African countries while operating in environments with:

  • Unreliable internet connectivity
  • Expensive mobile data
  • Growing candidate application volume
  • Increasing operational complexity

Every new student created more administrative work, and every new cohort increased coordination overhead. Without a platform layer, growth would eventually become operationally unsustainable.

My Role

I led the engineering effort behind transforming the platform from a static website into a learning infrastructure layer. The goal was simple: make the experience easier for students while reducing operational burden for the team.

My work included owning the development of:

  • Student authentication: Secure access gates protecting high-value learning resources.
  • Learning dashboards: Offline-first student portal to consume curriculum modules.
  • Curriculum delivery & progress tracking: Lightweight progress logging optimized for low-bandwidth.
  • Application workflows & admin tooling: Automated candidate onboarding, class rosters, and review panels.
  • Platform architecture: Secure, cost-efficient serverless backend layer.

Engineering Decisions

1. Database Flattening & O(1) Reads

Serving students in regions with bandwidth constraints and expensive cellular data packages meant database efficiency was a critical design driver.

Optimized Database Strategy
Instead of querying deep, recursive Firestore collections (which resulted in slow lookup queries and excessive network latency), I flattened the database structure. By mapping student progress into dynamic, compact arrays within a single status document, I achieved high-speed O(1) reads. This drastically lowered overall query load, reduced page latency, and minimized network data consumption for students using limited mobile plans.

2. Smooth, Edge-Level Routing

To secure administrative panels and private lessons without causing layout shifts, I moved authentication verification to Next.js Edge Middleware. Using server-side cookies, the platform intercepts requests before rendering, blocking unauthorized access at the network boundary rather than relying on slow client-side redirects.

The Stack

Selecting reliable, serverless tools capable of scaling fluidly while keeping local package weight minimal:

Next.js (TypeScript)Firebase AuthCloud FirestoreCloud StorageTailwind CSSFormik & YupPaystack SDK

Outcome

The platform now supports more than 5,000 students across 15 African countries. Key outcomes achieved include:

  • 40% reduction in student mobile data consumption
  • 50% reduction in manual administrative workload
  • Scalable cohort enrollment and management workflows
  • Secure, authenticated access to private resources
  • Improved visibility into distributed student progress

Most importantly, the Africa Students Network can continue scaling its accelerator programs and onboarding new classes without requiring proportional growth in operational effort or administrative staff.

Something worth
building together?
Get in touch →hello@tobiwilliams.tech