out of scope:
out of scope
GET /api/v1/events/:event_id => Event, Venue, Performer, Date, Tickets
GET /api/v1/events/search?{location}&{start_date}&{end_date}&{page_size}&{page_cursor}&{venue}&{performer}
=> Partial<Ticket>[]
POST /api/v1/events/:event_id/ticket/:ticket_id/hold
=> {
expiration_time,
}
POST /api/v1/booking
body {
ticketIds[],
}
=> booking_id
POST /api/v1/booking/:booking_id/confirm
body {
booking_id
paymentDetails
}
=> confirmation_id
User
Ticket
Event
Venue
Performer
You should identify enough components that are needed to solve the actual problem from end to end. Also remember to draw a block diagram using the diagramming tool to augment your design. If you are unfamiliar with the tool, you can simply describe your design to the chat bot and ask it to generate a starter diagram for you to modify...
Dig deeper into 2-3 components and explain in detail how they work. For example, how well does each component scale? Any relevant algorithm or data structure you like to use for a component? Also you could draw a diagram using the diagramming tool to enhance your design...
What are some future improvements you would make? How would you mitigate the failure scenario(s) you described above?