Home / Work / Hotel Management System

Hotel Management System — From Paper to Screen for Small Hotels

A hotel system for small hotels that still keep their rooms on paper: a room board, bookings, bills, cleaning, door keys, online booking and a guest page, in English and Turkish. In daily use by a small hotel.

Status
Live, in daily use by a small hotel; a public sample hotel anyone can try (https://thescorpia.com/hotel_management)
Repository
Private Internal Repository
Tech Stack
Next.js 15, React 19, TypeScript, PostgreSQL, Better Auth (Google Authenticator 2FA), iyzico payments, iCal, Vercel Cron, English + Turkish

Overview

A hotel system for small hotels that still keep their rooms on paper. The receptionist sees every room at a glance, writes a guest in, takes the payment, checks them out and closes the day, on a computer, a tablet or a phone. Guests can book online and use their own page to check in and out. It runs in English and Turkish, and a sample hotel lets anyone try it without an account.

The Problem

  • Many small hotels run on a paper book and a spreadsheet: double bookings, lost bills, and an end-of-day count done by hand.
  • Big hotel systems are built for chains: expensive, full of industry codes, and need training a two-person front desk does not have.
  • Rooms are also sold on booking sites, so the paper book is always one booking behind.
  • I worked the front office of a 5-star hotel in Yangon before studying engineering; this is the tool I wanted there, cut down to what a small hotel actually does every day.

How It Works

  • Today: one board of every room (free, occupied, waiting to be cleaned). Click a free room, type the name and the nights: that is the booking.
  • Bills that add up themselves: nights, extras and the tax for each night of the stay; season prices change the rate automatically.
  • Online booking: a public booking page per hotel shows only the rooms really free for the chosen dates. Guests pay online or at the hotel.
  • Guest page: each booking gets a private link where the guest checks in, sees the room and checks out.
  • Card payments and deposits through iyzico, with every payment callback verified on the server before the bill changes.
  • Booking sites: two-way calendar (iCal) sync with Airbnb and other channels. A database lock claims the room atomically, so two sources can never book the same night.
  • Cleaning list and door keys: checkout puts the room on the cleaning list; smart-lock integration issues door keys, with a practice mode when no locks are connected.
  • Police guest list (KBS): the guest list Turkish hotels must report, exported as CSV.
  • Day close and daily email: one page shows what was sold and what is open; a nightly job emails the summary over the hotel's own mail server and logs each run for monitoring.

Design Choices

  • Plain words, few steps: no hotel-industry codes on screen (Today, Bookings, Cleaning, Day close, Bill), specialist screens tucked under "More".
  • Two languages from the start: every screen in English and Turkish; a Turkish sample uses lira amounts and Istanbul time.
  • Secrets stay secret: each hotel's payment keys and mail password are encrypted at rest (AES-GCM); staff sign in with password plus Google Authenticator.
  • A sample that cannot leak: the public demo is a private copy per visitor with invented guests, deleted after 24 hours, so the real hotel's data is never on show.