Skip to content

Reservation/Booking System with Availability #84

@ray-sjsu

Description

@ray-sjsu

Create a reservation system only accessible if you are user authenticated.

  • Link reservation system with NextAuth to ensure authenticated users are able to only create/update reservations.
  • Create new reservation based on FINAL_BOOKING_DETAILS. Found in lib/rapid-hotel-api/api-setup.ts
    Image
  • Update reservation using the key bookingId.
  • Check for room availability. Ensure that an existing reservation does not overlap with a current one. Make this one accessible to frontend via api call.

To retrieve real data... look in components/checkout/CheckoutConfirmation.tsx. Read the comments under const FINAL_BOOKING_DETAILS.

#82 shows where the reservation/booking page is located

Metadata

Metadata

Labels

blockerA ticket that blocks others.role-backendRole. For backend developers (API, DB, auth).task-requirement-MMFMinimum Marketable Feature (MMF) essential to meet product requirements.user-reservationsUser stories category. Available locations. Reservation privileges of said locations.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions