/NodeJS_Day_2_Task

This repo contains NodeJS Day 2 Task of MERN Stack. Hall Booking and Management.

Primary LanguageJavaScript

NodeJS Day 2 Task - Hall booking and management.

Introduction

This API provides endpoints for performing booking hall and manage rooms.

Locally created rooms only can be viewed intially.To view customers follow below steps.

1) First add a customer to book a new room by using Booking rooms end point.

2) To view use end points as listed below.

To perfrom the CRUD operations refer the POSTMAN documentation as reference to end points.

🔖Endpoints

➡️ Create Room

URL - /api/createRoom

Method - POST

➡️ Get All Availabel Rooms

URL - /api/getRoom

Method - GET

➡️ Booking Rooms

URL - /api/bookRoom

Method - POST

➡️ List of all Customer Details Who booked room

URL - /api/getCustomerRoom

Method - GET

➡️ List of all Booked Rooms

URL - /api/getBookedRooms

Method - GET

➡️ Particular Customer Booked Details

URL - /api/getCustomerBookedDetails/customerName

Method - GET