Loading...
Define the APIs expected from the system. This is your chance to analyze and define the read and write paths so that you can come up with the high-level design...
Client App: users search and reserve parking spots.
API Gateway: routes requests and handles authentication.
Reservation Service: manages reservations and prevents double booking.
Parking Service: tracks parking spot availability.
Payment Service: processes payments.
Gate Service: handles check-in and check-out at parking gates.
Database: stores users, reservations, and parking data.
Responsibilities:
To prevent two users from reserving the same spot, the service uses database transactions and row locking.
Flow:
Responsibilities:
Flow: