Peter ItekaIteka Digital
LiveCommercial and client work

CBT-Practice exam platform

An offline-first practice platform for Nigerian entrance exams, with a free trial gate, paid access and automated student email.

Role
Full-stack development
Context
CBT-Practice
Stack
Next.js, React, Firebase, MongoDB, Paystack
Status
Live · checked 24 November 2026
CBT-Practice homepage with the headline 'Pass JAMB, WAEC & POST UTME with confidence', a start-practising button and the exam board cards
Homepage leading with the practice runner and the exam boards.

The problem

Students preparing for Nigerian entrance exams practise on paper or through shared PDFs, often on phones with intermittent data. The product needed a timed CBT session that survives a lost connection, gives away enough questions to be useful, and charges for the rest without adding friction.

My contribution

  • Built the application in Next.js with TypeScript, Tailwind CSS and Firebase.
  • Built the offline-first practice runner: an IndexedDB write, a durable outbox and idempotent server sync so a retry cannot duplicate an attempt.
  • Implemented the server-side free-question gate and paid access.
  • Integrated Paystack payments with a verified webhook.
  • Built the admin dashboard for questions, users, subscriptions and email campaigns.
  • Built four automated progress campaigns on a claim-before-send ledger, with cooldowns, a daily cap and signed unsubscribe links.
  • Rendered campaign email once into Brevo templates and sent each batch as a single API call.
  • Added reset, history import and account deletion that clears practice data.
  • Made the app installable with a Serwist service worker.

What the system does

  • Past questions across JAMB, WAEC, POST UTME, GCE and GST
  • Timed CBT sessions with instant explanations
  • Paused sets that resume where the student stopped
  • Offline practice with background sync
  • Free trial questions, then subscription access
  • Progress history that follows the account across devices
  • Installable app
  • Admin dashboard for questions, users, payments and email
  • Automated progress emails with a working unsubscribe link

Technical approach

  • Next.js App Router with the Firebase Admin SDK
  • MongoDB for attempts, paused sessions and denormalised progress
  • IndexedDB with a durable outbox and idempotent writes
  • Paystack webhook with server-side verification
  • Brevo batch sending with deduplicated campaign claims
  • Serwist service worker and web app manifest
  • Cron endpoints behind a shared secret

Outcome

The platform is live at cbtpractice.ng. Students practise on a phone, keep their progress between sessions and pick up a paused set where they left it, while the team manages questions, subscribers and campaign email from one dashboard.

What I learned

Offline-first is a data-integrity problem before it is a caching problem. Idempotent writes and a durable outbox meant the practice experience could tolerate a dropped connection without losing or duplicating an attempt.

All projects

Next step

Have a similar build in mind?

Tell me about the problem you are trying to solve. I will tell you honestly whether I can help, what it would involve and what it would cost.