Backend is the part of a webpage or app that users can’t see. It’s otherwise known as server-side. This part is responsible for the actual logic behind the scenes. While frontend is the user interface, the design which users can see and interact with.
For example, a registration form with fields to fill is the frontend. When a visitor clicks a button and submits the form, backend processes the request:
- validates the fields
- saves data in database
- sends verification email
- returns a message to the browser