APPS · BAR 10 · 2026

Carwash Muara Teweh logo

Carwash Muara Teweh

Cashier and wage calculation for a motorbike wash, car wash, and cafe.

Role
Full-stack (design & code)
Year
2026
Stack
Nuxt 4, TypeScript, Drizzle ORM, PostgreSQL (Supabase), Tailwind CSS v4, Vitest
Status
In daily use

The Problem

Washes, cafe sales, and wages were kept in a notebook. Each night, the 35% wage per wash was split per worker by hand.

What I built

  • Cashier screen for tablet and phone: plate, service, workers, cafe items, save.
  • Server calculates wages and drawer cash from every transaction.
  • Daily closing: wages per worker, drawer difference, then the date locks.
  • Staff cafe purchases can come out of that day's wages.
  • 58mm receipts via Bluetooth thermal printer (Web Bluetooth + ESC/POS).
  • Owner reports: summary, wages, profit and loss, customers, Excel export.

Technical decisions

  • All money math is one tested module of pure functions; wages stored as unrounded 2-decimal numerics.
  • Transactions are idempotent (browser-generated ID), nothing is deleted, closed days cannot change.
  • Traced Vercel 504s to Supabase's transaction-mode pooler stalling under stacked queries; moved to session pooler.
Cashier
Cashier
Today's transactions
Today's transactions
Closing
Closing
Owner report
Owner report
Profit and loss
Profit and loss
Settings on phone
Settings on phone