Skip to content
‹ All case studies
Web (SaaS)

doobie

Online booking for freelancers: share one link, and clients book a time that fits your real availability, with no back-and-forth calls.

Year
2026 · MVP in progress, beta next
Stack
Next.js · TypeScript · PostgreSQL · Drizzle · Playwright
doobie: a client picks a time on Amina's booking page

The problem

Independent consultants and coaches lose hours trading calls and messages to set up a meeting. Existing tools felt too complex for someone who just wants a link that works.

My role

Solo project: I defined the product (persona, MVP scope), wrote the architecture decisions and feature specs, and reviewed and merged every pull request, building with AI coding agents behind CI.

Key decisions

  1. No double booking, guaranteed by the database

    A Postgres exclusion constraint makes overlapping bookings impossible. The code inserts and handles the failure, instead of checking first and leaving a race window.

  2. One lock per professional

    A test with 8 simultaneous bookings showed Postgres deadlocks with as few as 3 concurrent requests. A lock per professional now handles their bookings one at a time, while different professionals stay parallel.

  3. Abuse protection without extra services

    Email confirmation, at most 3 active bookings per email and 5 booking requests per IP per hour, counted in Postgres: no Redis needed.

Screens

  • Amina's booking page: a 30-minute appointment, with days and free times to pick

    Pick a time

  • A booking, start to finish

Results

MVP in progress: the full booking flow works end to end, covered by 50+ automated tests (including a concurrency test) and CI on every pull request. 8 architecture decisions and 18 feature specs written. Beta launch next.

What I learned

  • For rules that must never break, like no double booking, the database is a better guard than application code, and a concurrency test is the only way to be sure.