Software projects

Hotel operations / Web app

Deckr

I built Deckr, a Supabase-backed hotel operations app for maintenance tickets, rooms, and housekeeping. A major reliability challenge led me to rethink how the app refreshes shared workspace data.

Visit Deckr.us
Deckr’s ticket registry with room, urgency, assignment, and status columns

The problem

Hotel teams need maintenance tickets, room information, and housekeeping updates in one place. I built Deckr around shared workspaces for owners, managers, and employees so teams could coordinate work across roles.

What I built

The web app includes ticket assignment and tracking, housekeeping boards and statistics, room history, workspace permissions, and exports. I also added workspace-aware AI chat with access controls and credits, along with a responsive public homepage.

Investigating Auth timeouts

A series of Cloudflare 522 errors affected sign-in and session refresh. The investigation matched a screenshot’s Cloudflare Ray ID to Supabase Auth logs, while a separate read-only database query also timed out. Reviewing the app uncovered two concrete sources of unnecessary work: full workspace refreshes could overlap every 20 seconds, and each refresh recalculated storage across multiple tables.

Changing the refresh flow

I changed workspace refreshes to run one at a time, grouped realtime events, and added slower retries after failures. Storage calculations moved to an on-demand cache lasting five minutes, and storage failures no longer blocked workspace loading. These changes reduced unnecessary work, but the investigation did not establish that they resolved the underlying cause of the outage.

A design decision

For the public homepage, I considered more dramatic redesigns alongside a cleaner split layout closer to the existing site. I chose the split layout because I wanted a substantial visual refresh that retained the familiar product feel and all the existing information.

Testing concurrency and failures

The refresh changes passed 25 automated checks covering slow requests, overlapping loads, realtime bursts, cache expiry, and sign-out during pending requests. Failure cases included storage errors and a missing storage function, with checks for controlled retries and fallback behavior.

Verifying the release

JavaScript syntax and whitespace checks passed, and a live database query succeeded. After deployment, verification confirmed that deckr.us served the updated refresh and storage code. The resulting flow serializes workspace loads, caches expensive calculations, and handles storage failures separately from the rest of the workspace.

Software projects