
Problem
Small motels and guesthouses often rely on paper logs or spreadsheets to track room occupancy, bookings, and daily revenue.
Approach
Built a Next.js app around the front-desk routine: staff sign in with an employee ID, register a guest against a room with their ID or passport, record how and how much they paid with a receipt or transaction number, and check them in and out, while the admin and reports pages roll that up into sales.
Tech highlights
Next.js and TypeScript with Prisma over MongoDB (users, rooms and guests), REST route handlers for authentication, guests, check-in, check-out, rooms, sales and users, Tailwind CSS with shadcn/ui, and a custom Node server for hosting outside Vercel.
Results
Deployed on Vercel behind a staff login.
Challenges
Keeping room status honest as guests move through booked, checked in and checked out, so the front desk never sees a room as free while someone is still in it.
More like this

