All Projects
Domek — Apartment Booking Platform
An apartment-booking marketplace in Polish: guests search and book places to stay, hosts publish and manage their listings, and an admin moderates the catalogue.
The Challenge
My first full-stack project: real accounts and roles, a database, and bookings that can never overlap, not just a front-end demo.
How I Built It
- Search by city, dates and guests, with filters, sorting and pagination; listings booked on the selected dates are hidden.
- The server checks for overlapping bookings in a serializable transaction, and the host confirms or rejects each one.
- Sign-in with email or Google via Better Auth, plus one-click demo accounts.
- Roles and ownership are checked on the server in every action, not only in the UI.
- Nothing is hard-deleted: listings are hidden and bookings get a status.
- Loading skeletons, error boundaries and empty states on every page.
Result
A working booking marketplace live on Vercel: 25 listings in 6 cities, guest and host demo accounts, source code on GitHub.
What I Did
- Search with filters, sorting and pagination01
- Overlap-safe bookings in a serializable transaction02
- Host dashboard: create, edit and hide listings, upload photos03
- Email, Google and one-click demo sign-in with Better Auth04
- Role and ownership checks on the server in every action05
- Loading, error and empty states on every page06
Gallery
6 images
01
02
03
04
05
06