Snoozy: booking software for pet hotels, grown out of a real one

One pet hotel's internal system, rebuilt as a product any pet hotel can set up on its own — bookings, a room grid, prices, contracts and a public booking page.

3 min read

snoozy.love

Snoozy is a system for pet hotels: boarding for dogs and cats, from a home business with a few rooms to a network with several branches. It keeps the bookings and the room grid, knows the clients and their pets, calculates the price, prints the contract and takes requests from pet owners through a public booking page.

We built Snoozy and we run it. This article is about where it came from and the decisions that make it dependable.

Where it came from

Snoozy began as the internal system of one pet hotel. It worked, and it had the shape such systems always have: prices written into the code, a single administrator account, rules that only made sense for that one business, and a framework version that had gone out of support.

We set out to turn it into a product — one that any pet hotel can configure for itself without calling a programmer. That meant moving everything that had been hard-coded into settings a hotel owner controls: categories of pets, room types, seasons, extras, food, discounts. It meant accounts and roles for staff, more than one hotel in the same system, and a clean way for a new hotel to start: a setup wizard, and a demo hotel that anyone can open in one click.

What a hotel gets

  • The room grid. Rooms down the side, days across the top. Drag a booking to move or extend it.

  • Bookings. From request to confirmed, checked in and checked out, with declined, cancelled and no-show along the way. Any number of pets in one booking.

  • Prices. Seasons, room types, extras and rules, with a line-by-line breakdown the client can read. The breakdown is saved with the booking, so changing the price list later does not change what was agreed.

  • Contracts. The hotel uploads its own Word template; Snoozy fills in the client, the pet and the stay, and produces a document and a PDF.

  • Public booking. A five-step page with a live price, and a widget for the hotel's own website. Pet owners do not need an account.

  • Money. Payments are recorded against bookings. A mistake is corrected with a reversal entry, never by deleting a record.

  • The day. A Today screen with arrivals and departures, notifications by e-mail, Telegram and in the app, a daily summary, reports on revenue and occupancy, and an audit log.

A hotel with cameras can give an owner a link to watch their pet; the link works only during the stay. Snoozy works in English and Russian — interface, e-mails, documents and the booking page.

snoozy.love
The Snoozy room grid: two weeks of occupancy in the demo hotel

Decisions that make it dependable

A double booking is impossible, not unlikely

Two staff members confirming the same room for overlapping dates at the same moment is the classic failure of booking software. Checking in the application before saving does not prevent it; it only makes it rare. In Snoozy the database itself refuses: an exclusion constraint on room and period means two overlapping bookings for one room cannot exist, whatever the timing.

The price engine is pure code

The pricing engine takes a booking and a price list and returns a breakdown. It touches no database, no clock and no network, which makes it fully testable. The rules of the original hotel — how days are counted, the discount for a second pet, the charge for extra walks — live on as unit tests, so the product still calculates what that hotel's clients expect.

Contracts come from the hotel's own template

In the old system, changing a sentence in the contract meant a software release. Now the hotel edits a Word file. The hard part is that Word splits text into fragments unpredictably, so a placeholder typed as one word may be stored as three; Snoozy normalises the document before filling it and checks the placeholders when the template is uploaded, not when the first client is waiting.

Two layers of isolation

Hotels share one database. Each query is filtered by the application, and PostgreSQL row-level security enforces the same boundary underneath with a role that cannot bypass it. The tests walk through every table and every endpoint, so a new one added without protection fails the build.

Backups that are proven to restore

A nightly backup is only a hope until it has been restored. Snoozy restores its latest backup into a temporary database every week and checks the result.

More from Insights.

All articles ↗

Start a project

Have something serious to build?

A short brief is enough to begin. We answer with questions, a plan and a price.

Start a project ↗or just send a message →