Building apps
What is backend?
Backend is the part of an application users never see: where data is stored, business rules are enforced, permissions are checked, and connections to other systems happen.
New to Bolt? Sign up free.
Technical definition
The backend is the server-side portion of an application. Its responsibilities are data persistence and querying, business logic, authentication and authorization, input validation, integration with external services, and scheduled or background work.
The defining property is that the backend runs in an environment the user does not control. That is what makes it the only place security can be enforced, since anything running in the browser can be inspected and modified by whoever is using it.
In plain terms
The frontend is the storefront. The backend is the stockroom, the till, and the locked office.
A customer only ever sees the storefront. Everything that has to be right lives behind it.
Why it matters
One rule follows from what a backend is, and it is the one that costs small businesses the most when they miss it: a check that runs in the browser is not a check.
Anyone can open the developer tools, change a value, and send whatever they like to your server. If the price is validated in the browser, the price can be changed. If the user's role is decided in the browser, the role can be changed. Validation has to happen on the server, where the user cannot reach it.
The second thing the backend gives you is data that persists and belongs to the application rather than to one person's session. That is what turns a page into a system: customer records that are there tomorrow, bookings visible to your team, and a history you can report on.
