-
Get all events short des
- endpoint /api/events
- verb: get
-
Get event full detail
- endpoint: /api/event?eventId=65e72adb1a811501c45afd72
- verb: get
-
Add event
- endpoint: /api/event
- verb: post
-
Post/Booking for a event for n seats
- endpoint: /api/booking
- verb: post
- payload:
{ "eventId":"65e72adb1a811501c45afd72", "count":5 }
-
Update Booking,desc or inc seats
- endpoint: /api/booking
- verb: put
- payload:
{ "bookingId":65e72adb1a811501c45afd72", "count":5 }
-
Delete/Cancel Booking
- endpoint: /api/booking?bookingId=65e72adb1a811501c45afd72
- verb: delete
-
Login user
- endpoint: /api/user/login
-
Register user
- endpoint: /api/user/register
-
Get all past booking of user
- endpoint: /api/user/booking
-
Event
- eventId
- eventName
- eventOrganizer
- eventCityName
- eventDate
- imgUrl
- seats
- seatsBooked
- eventDescription
- price
-
User
- userId
- name
- password
- pastBooking
- array of bookingId,eventId and seats
- Many events are organize in the city at various places. Management of booking process made simple by organise booking system