All work
Online MBA school · Web Catalyst LLC · client work · 2026

Learning Platform v3: Full Rework

  • Full-stack
  • Backend
  • AI-assisted
[SCREENSHOT · learning-platform-v3]

The same school, rebuilt from scratch as a course marketplace: students buy courses, authors publish them and earn a share of the revenue, and admins run it all. I worked across the new API and apps, including the part that decides who gets paid what.

the result →Authors get paid a fair, auditable share, with refunds, fees and referrals all accounted for.
cat README.md

The problem

After years of growth, the school moved to a new model: a course marketplace where authors publish courses and earn a share of the revenue. That needed a fresh platform, and a way to pay authors that is fair, correct and auditable.

What I built

A full-stack rework on a new monorepo, working across the API and the apps:

  • Who gets paid what: a revenue-share engine. All-access revenue goes into a creator pool that closes monthly and is split by engagement; direct sales are priced by referral and by versioned rates.
  • Money you can trust: an earnings ledger that removes tax and processing fees, treats chargebacks as reversals, and only clears earnings once their period has closed.
  • Running the platform: super-admin roles, audit logs, and management of users, authors and payouts.
  • Referrals: from the API through checkout to the author and admin dashboards.
  • Email: transactional email through MailerSend.

How AI helped

The whole rework was AI-assisted. Each feature started from a written design spec, then I built it with Claude Code as a pair programmer, and reviewed every change myself.

The result

Authors get paid a fair, auditable share, with refunds, fees and referrals all accounted for.

cat stack.txt

Under the hood

  • student · author · admin apps
  • react 19 + capacitor mobile
  • fastify api · better auth
  • revenue-share engine
  • drizzle + postgres · stripe · mailersend
  • Revenue-share engine: a creator pool closed monthly and split by engagement, direct sales priced by referral attribution and versioned rates
  • Earnings ledger that subtracts tax and processing fees, handles chargebacks as reversals, and only clears earnings after their period closes
  • Super-admin roles and access control, audit logs, and author, user and payout management APIs
  • Referral system end to end: API, checkout and the author and admin dashboards
  • Turborepo monorepo: Fastify + Drizzle + Better Auth API, React 19 student portal shipped to mobile with Capacitor, shared Zod types, MailerSend email
  • fastify
  • drizzle
  • postgresql
  • better-auth
  • stripe
  • mailersend
  • react
  • capacitor
  • claude-code