Kamran Mushtaq
Back to Systems Design
Systems Design

Backend

Added: June 24, 2026

Definition

Backend is the server-side part of an application that handles business logic, data processing, authentication, APIs, and database operations. It works behind the scenes and provides data to the frontend.

What Problem It Solves

  • Stores and manages data
  • Processes user requests
  • Applies business rules
  • Handles security and authentication
  • Connects frontend with databases

What Happens If Not Used

A website can only show static content. Users cannot log in, submit forms, save data, make purchases, or retrieve dynamic information.

Easy Wording

Backend is the brain and engine of a website or application. Users usually don't see it, but it does all the important work in the background.

Layman Example

In a restaurant:

  • Customer = User
  • Waiter = Frontend
  • Kitchen = Backend The waiter takes your order, the kitchen prepares it, and the waiter brings it back.

Technical Example

When a user logs into a website:

  • Frontend sends username and password to the backend.
  • Backend verifies credentials from the database.
  • Backend generates a session/token.
  • Backend sends a response back to the frontend. Major Terms: Server, API, Database, Authentication, Authorization, Business Logic, Data Processing, CRUD Operations, Backend Framework, Server-Side Programming.