BalakumaranDhandapani / Nodejs_hall_booking

Hall Booking API to Create rooms, book rooms, for listing all the rooms and customers with Booking data.

Home Page:https://hall-booking-dlb7.onrender.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nodejs_hall_booking_API_Backend

We have created an API for room Booking service for frontend to create a room, create a booking, view all rooms with booking details and view all bookings.

Task:

1.Creating a Room with features and price: POST Method: https://hall-booking-dlb7.onrender.com/createRoom

Ex: 
{
"noSeats": 3,
"amenities": ["AC", "Geyser","Wifi","TV"],
"price": 900
}

2.Booking a Room with Customer Details: POST Method: https://hall-booking-dlb7.onrender.com/createBooking

Ex:
{
"custName": "Ananth",
"date": "04/19/2022",
"startTime": "11:00",
"endTime": "22:00"
}
  1. Listing all Rooms with Booked details: GET Method: https://hall-booking-dlb7.onrender.com/getAllRooms

  2. List all Customers with Booked data: GET Method: https://hall-booking-dlb7.onrender.com/getAllBookings

About

Hall Booking API to Create rooms, book rooms, for listing all the rooms and customers with Booking data.

https://hall-booking-dlb7.onrender.com


Languages

Language:JavaScript 100.0%