-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoprations.txt
46 lines (45 loc) · 1.11 KB
/
oprations.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Creating a Room with
Number of Seats available
amenities in room
Price for 1 Hour
Booking a Room with
Customer Name
Date
Start Time
End Time
Room ID
Booking Date
List all customers with booked Data with
Customer name
Room Name
Date
Start Tme
End Time
List all Rooms with Booked Data with
Room Name
Booked Status
customer name
Date
Start Time
End Time
List how many times a customer has booked the room with below details
Customer name
Room Name
Date
Start Time
End Time
Booking id
Booking date
Booking status
Task
1. How to write an API ?
Create an Express server.
Create an endpoint and write your logic.
Can use local variables to store data.
Write API documentation in postman docs.
2. Any specifications and constraints ?
Back-End: Node Js
Basic requirements:
While booking app should not allow booking an already booked room on the same date and
time.
The code should be clean with proper variable, function naming and proper comments.