GitHub repository: sonarSunny/hotelBookingNodeJs
Primary language: JavaScript
Created: 2021-01-20T22:02:26Z
Description: There is a hotel booking website.  Expose an API to book a room based on user bonus points.     Conditions: If User has 'n' bonus points and Price to book the hotel is 'n’ ,Status of room changes to "BOOKED".  If User has 'n' bonus points and Price to book the hotel is greater than 'n’ , Status of room changes to "PENDING APPROVAL".  Any changes to user bonus is tracked in the system