What is Frontend, Backend, API?

SHARE WITH FRIENDS:

What is Frontend, Backend, API? I will try to explain it more easily.

The frontend is the front part of the program, i.e. the part used by the users that defines the view. The interface of the site, the button (buttons) is the frontend.

Backend is the back of the program, i.e. the back of the site, which generates the data, responds to security, works with full data, and organizes the entire process invisible to the user.

The API is a data carrier between the two. That is, the frontend sends a request to the backend using the API, and the backend also responds to the frontend request through the API.

To make it even clearer, I will give an example:

Imagine you are in a restaurant. The structure of the restaurant, the tables and chairs, the products on the table, everything you see is the frontend.

Then you call the waiter and place your order. The waiter takes the order to the kitchen. The kitchen prepares your order, takes some products out of the warehouse, but you don’t witness it, in the process the kitchen is the backend and the warehouse is the database.

Of course, if you are the driver of the program here, the waiter serving between the user, frontend and backend is the API.

👉 @ITStarsUz

Leave a comment