Difficulty: (7/10) - no ai, feel free to use google

Time Limit: 2hr

Evaluation: Automated test cases will be run against your backend, link will be added below after exam for reference : https://github.com/rahul-MyGit/hotel-contest-test


Tech Stack (PREFERRED)


Objective

Build a Hotel Booking Platform backend where:


User Roles

Role Description
customer Books hotel rooms
owner Manages hotels and rooms

Core Rules (Hard Rules)

  1. One hotel can have multiple rooms with different types
  2. Owners cannot book rooms in their own hotels
  3. Bookings allowed only for future dates