01 — Case study
Tactorelia
A tutoring marketplace for French-speaking Africa, with real payments.
View demo
The problem
Students need to find a reliable tutor, book and pay online, often without a credit card.
What the app does
- Tutor search and session booking
- Upfront payment with Mobile Money
- Google Meet link created automatically when the tutor accepts
- Automatic refund if the tutor declines
- Tutor payout after the session
- Real-time messaging
- 4 languages, about twenty countries
What matters to the client
- Real, reliable payments: never a double charge or a double payout.
- The same time slot can never be booked twice: the database prevents it.
- Refunds happen on their own, with no manual work.
- 5 payment methods that can be switched on without redeploying the site.
- Security is enforced at every level: access, data and payments.
By the numbers
- versioned SQL migrations
- ~48
- versioned SQL migrations
- automated test files
- ~129
- automated test files
- languages
- 4
- languages
- scheduled jobs
- 4
- scheduled jobs
Stack
- Next.js 16
- React 19
- TypeScript
- Supabase (Postgres, RLS, Realtime, pg_cron)
- API PawaPay v2
- next-intl
- Zod
- Vitest
- Upstash Redis
My role
Co-founder. I designed and built the platform alone, end to end, for real users.
Under the hood
The technical choices, for agencies and development teams.
- 01Signed PawaPay webhooks, verified before any processing.
- 02Idempotent deposits, refunds and payouts: an event received twice has a single effect.
- 03Postgres exclusion constraint on time slots: the database rejects overlaps, not just the app.
- 04Route → Service → Repository architecture: isolated, testable business logic.
- 05Supabase Row Level Security, input validation with Zod, rate limiting with Upstash Redis.
- 06Scheduled jobs with pg_cron and messaging with Supabase Realtime.

Have a similar project in mind?
Let's talk during a free 20-minute call.