Engineering
I build APIs and the workflows they run.
Much of my work involves keeping track of things that change over time, like wallet balances, verification results, and scheduled tasks. I also build the interface when I’m responsible for the whole product.
Systems I’ve worked on
Wallets, settlement, and live sports data
I led the backend work for lottery and peer-to-peer betting. Part of the job was making sure the wallet reflected what happened to the money at every stage, from funding a bet to settling it or returning the funds.
- Wallets and payouts. I built escrow, settlement, refunds, and reconciliation for individual and group bets. For lottery draws, I worked on rollovers, payout calculations, and crediting winners’ wallets.
- Payment integrations. I integrated Paystack and WayaQuick into deposit and withdrawal workflows and added validation and safeguards around those transactions.
- Data availability. I put a database-backed cache between the public endpoints and the sports feed. A separate refresh workflow respected the provider’s quota, while the endpoints could still serve cached fixtures, scores, and standings during outages.
Identity and business onboarding
As the sole backend engineer for the launch, I built the services for sign-in, individual registration, and business verification.
- Authentication and sessions. I implemented password sign-in with one-time codes and Google OAuth, including session expiry and invalidation on logout.
- Verification workflows. I separated individual and business onboarding so each could follow its own rules. The business flow handled ownership claims and checks against tax ID and Corporate Affairs Commission records.
- Audit and notifications. I recorded sensitive actions and session activity for review and used a shared email service for verification codes and ownership claim updates.
Notifications, document review, and scheduled work
I contributed NestJS services and APIs for workflows that involve both users and administrators. Some actions start in the app, others happen later on a schedule.
- Reviews and permissions. I added role-based controls, eligibility checks for assignments, and a document review flow that kept approval or rejection in sync with the user’s status.
- Delivery and retries. I built a shared notification service for email and in-app updates. It handled concurrent requests and retried failed deliveries.
- Recurring tasks. I built the endpoints for creating and editing recurring actions and the background jobs that execute them and send reminders.
An event-driven checkout
I built a sample checkout with separate customer, product, order, and payment services. It’s a small codebase where you can follow the flow across service boundaries.
- Order processing. The order service checks the customer and product, stores a pending order in MongoDB, and calls a simulated payment service.
- Transaction history. Payment events go to RabbitMQ. A separate worker consumes them and writes the transaction history. The repository includes Docker Compose and documentation on the design decisions.
Simulated trades, portfolios, and rewards
I built a trading simulator backend in Java 21 and Spring Boot. It stores portfolio balances, positions, and trade history in memory so the whole workflow can be run locally.
- Trade execution. A buy or sell goes through cash or holdings checks at the current simulated price. Once the trade clears those checks, it updates the portfolio balance and positions.
- Rewards and ranking. Completed trades earn gems, with bonuses for streaks and milestones. The leaderboard gives users with the same score the same rank.
- API and tests. I used JWT authentication for protected endpoints and documented the API with OpenAPI and a Postman collection. Tests cover buy and sell execution, insufficient funds, rewards, and tied rankings.
How I work
I like to take a feature from design through release. I start with the API contract and what changes in the data. If a payment provider times out, I want the service to record enough about the attempt for us to decide whether to retry or reconcile it.
I write the code, test the failure paths, and verify the behaviour in staging. I document the API and the decisions another engineer will need when they change it.
Tools I work with
- APIs and services
- TypeScript, Node.js, NestJS, Express, Java, Spring Boot, Python, PHP, C#, REST, OpenAPI
- Data and background work
- PostgreSQL, MongoDB, MySQL, Microsoft SQL Server, Firebase, Redis, RabbitMQ, BullMQ
- Delivery and monitoring
- Docker, AWS, GitHub Actions, Grafana, Prometheus
- Product interfaces
- React, Next.js, Tailwind CSS, Angular