Skip to content

Development and systems

Frontend, backend and API explained with a booking form

A customer sees a list of appointment times. The system has data and rules for deciding whether a time can be booked. An API describes how those parts exchange information.

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.