Dhruv Kumar

Bunny’s Cafe

Pitched & built solo · live

A real-time ordering system for the cafe behind my college, pitched and built solo. QR-code table entry, a phone sign-in, live order status, Razorpay checkout and an admin dashboard the owner actually uses.

Role
Pitched, designed & built solo
When
Apr to Jul 2026
Stack
Next.js, Prisma, PostgreSQL, Razorpay
Live
bunnyscafe.in

The problem

The cafe behind my college was jammed every lunch break, with one counter and one queue for every order. The bottleneck was not the kitchen, it was students standing in line to say what they wanted.

I pitched the owner on replacing the line with a phone in every student’s hand, then built and shipped the whole system myself: menu to kitchen to payment to handoff, with nothing bolted on from a third-party ordering platform.

How it works

  1. Order

    A QR code on the table opens the menu in the browser, no app install. Items, variants and add-ons are configured in an admin panel, with per-order price snapshots so a later menu change never rewrites a past receipt.

  2. Sign in

    A phone sign-in: Firebase texts a one-time code, and requests for one are rate-limited to 3 per phone-and-IP pair in a 5-minute window. Once signed in, a 7-day httpOnly cookie keeps a regular signed in between visits.

  3. Pay

    Razorpay checkout online, or cash at the counter.

  4. Track

    The order screen holds open a Server-Sent Events stream. The server polls the order every 1.5 seconds and sends it only when it has changed, with Web Push as a fallback so a closed tab still gets notified when the order is ready.

Behind the counter

The kitchen side got the same amount of attention as the ordering flow: a kanban board for incoming orders, a walk-in POS for the counter when a customer skips the QR code entirely, coupon codes with per-order minimums and usage caps, and a sales dashboard the owner can filter by day, week or month to see cash versus online split.

Result

  • 21 daysFirst commit to live domain
  • 195Commits shipped solo, requirements to handoff

What I would change next

Order status updates by polling the database every 1.5 seconds and diffing the result before pushing. It works, and it is honest about what SSE on a serverless platform can do without a persistent backend, but a proper LISTEN/NOTIFY channel or a queue would replace the poll with an actual push and cut the delay further.

Visit Bunny’s CafeAll projects

Next case study

  • nekopet

    Open source · solo build

    A desktop pet for Wayland, in Rust. It speaks wlr-layer-shell directly, and its eyes follow the cursor.

    868Lines of Rust, one native binary