Loading...
POST /reserve
Request{
}
Reponse{
}
POST /reservation/{reservationId}/checkOut
Request
{
}
Response{
}
POST /checkIn/{reservationId}
Request
{
}
Response:
{
}
GET /availability?parkingSpot=X&startTime=X&endTime=X
Request
{}
Response
{
}
Client -> APIGateway -> Loadbalanacer -> API -> DB
Reservation service will cache any existing reservations so we can save time when checking if there is an existing reservation
Load balance the different services to ensure availability
we'll use a relational db so we can handle concurrent calls if two people attempt to reserve same spit