Backend Fundamentals · How a backend is organized
What is a backend?
The backend is the code on your servers that receives each request, checks it, applies the business rules, reads and writes the shared data, and answers. It is where the real decisions are made.
- Time16 min
- LevelBeginner
- Pictures12 diagrams
- Check6 questions






Shop app sends POST /orders with item 42 and quantity 2.
Routing matches the method and path to the createOrder handler.
Validation quantity is a whole number from 1 to 10, so it passes.
Business rules reads the real price and stock, ignoring any client price.
Response returns 201 Created with the new order number.
API the agreed requests the frontend may send.