Please enable JavaScript.
Coggle requires JavaScript to display documents.
Tickets App - Coggle Diagram
Tickets App
Backend
Resources
User
email
password
Tickets
id: number
price: number
user id: Refers to user
order id: Refers to Order
Order
userId: Refers to User
Status: Created | Cancelled | AwaitingPayment | Completed
ticketId: Refers to Ticket
expiresAt: Date
Charge(Payment)
orderId: Refers to Order
status: Created | Failed | Completed
stripId: string
amount: number
refeundId: string
Services
Auth
UserCreated
UserUpdated
Tickets
TicketCreated
TicketUpdated
Expiration
Payment
ChargeCreated
Order
OrderCreated
OrderCancelled
OrderExpired