Skip to content

feat: implement hotel booking mvp#5

Open
ideook wants to merge 1 commit into
Enemuo-debug:mainfrom
ideook:implement-hotel-booking-mvp
Open

feat: implement hotel booking mvp#5
ideook wants to merge 1 commit into
Enemuo-debug:mainfrom
ideook:implement-hotel-booking-mvp

Conversation

@ideook
Copy link
Copy Markdown

@ideook ideook commented May 11, 2026

Summary

Implements the hotel booking MVP requested across #1, #2, and #3.

Included:

  • PostgreSQL relational schema for users, hotels, room types, rooms, and bookings
  • Auth endpoints for register/login/logout with password hashing and session tokens
  • Hotel, room type, and room management endpoints for a single hotel admin flow
  • Availability endpoint with date overlap checks
  • Booking creation endpoint that prevents overbooking by selecting only available rooms
  • Node test coverage for auth, availability, booking creation, and room management

Verification

  • npm test

Closes #1
Closes #2
Closes #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User Authentication and Hotel Admin Dashboard (MVP) Room Availability and Basic Booking Logic Database Schema and API Definition

1 participant