What the interface does
The frontend shows the available times, reacts to the selection and asks for any missing information. It also shows a loading state and explains what a user can do if the network fails or a slot disappears.
Where the decision is recorded
The backend checks access and the request, applies the rules and records the booking. If two people request the same time, the system must determine what can be confirmed and give the other person a clear response.
How the pieces communicate
The API defines operations and the shape of their requests and responses. A create-booking operation might receive a slot identifier and return a confirmation or a conflict. A browser and mobile app can use the same contract.
Use that separation to track down a problem
If a booking never arrives, check whether the request was sent, how the backend responded and whether the record changed. Those questions narrow down where a fix belongs and what the visitor should see.
