Thayná.
PT
Back to projects
Development

Party Rentals — Management

Management of party item rentals — tablecloths, tables, chairs, covers and sets. It replaces the paper notebook and prevents booking more than what is in stock.

Party Rentals — Management

The challenge

Rentals were tracked in a notebook: it was possible to book the same tablecloth for two events on the same day, forget to pick items up and lose track of the money.

The solution

A system that replaces the notebook: each order becomes a record with a delivery and pickup window, items, address, amount and payment status. Availability is checked by date window in two layers — in the backend, with real-time stock levels in the form, and locked by a Postgres trigger that never saves an overbooking, even with two simultaneous orders. It includes a daily agenda, a logistics Kanban board, a monthly calendar and a financial dashboard with customers who have overdue payments.

Features

  • Availability check by date window (backend + database trigger, no overbooking)
  • Logistics Kanban: reserved → packed → delivered → picked up
  • Daily agenda, overdue counter and monthly calendar
  • Finances: paid/partial/pending status, revenue and customers with overdue payments
  • Customer records with saved addresses and ready-made WhatsApp messages
  • Installable PWA, with shortcuts to New order and Agenda

What I learned

Two technical highlights. I built my own design system in TypeScript: the tokens generate all of the CSS for the site through functions, with no Tailwind or hand-written CSS — changing the entire brand means editing a single palette. And I handled the critical rule (never booking beyond stock) in two layers: backend validation, with a clear message, and a Postgres trigger as a safety net against concurrency. I also set up the workflow with Gitflow and separate production and staging environments (distinct Supabase databases), so a test never touches a real customer order.