Glossary
What is Back-end?
Published Updated
Also known as: backend, server, server-side.
Back to the restaurant: if the front-end is the dining room, the back-end is the kitchen. Customers never go in there, but it’s where the order becomes a dish.
What the back-end does
The web’s reference documentation, MDN, lists what server-side code takes care of: checking the data people send, storing and retrieving data in a database, handling user accounts and sign-in, allowing only the right people to see something, and sending emails or notifications.
In an app you build with AI, that comes down to four jobs the page alone can’t do well:
- Remember things. What someone saved shows up again, on any device.
- Know who is who. Login and “this person can only see their own data”.
- Keep secrets. A key from a payment, email or AI service must stay out of the page, where anyone can read it. See API.
- Act when something happens, like sending a receipt after a payment.
Does your app need one?
Not if it only works on the person’s own device and doesn’t need to remember anything, like a calculator or a tip splitter. An app that saves only to the browser (local storage) also works without a back-end, but the data stays in that one browser.
You need a back-end when:
- people sign in;
- the same data has to appear on more than one device, or for more than one person;
- the app keeps something you can’t afford to lose, like orders or customers;
- it uses a secret key.
What Lovable and Bolt give you
Lovable. Lovable’s docs call it the built-in backend (Lovable Cloud). They say it includes a database, storage, authentication, realtime and functions, and that Lovable manages the hosting and infrastructure. The same docs say there is one credit balance for building the app, hosting it and running the built-in backend, so back-end work uses credits. You can connect a Supabase project of your own instead, on any plan, billed by Supabase. Switching between the two is not automatic: see How to move from Lovable Cloud to your own Supabase project.
Bolt. Bolt’s docs say Bolt Cloud is the backend and hosting built into Bolt, and that every project can have a built-in database. Supabase is an alternative on paid plans, and Bolt says to pick it when you create the project, because switching later takes extra steps.
This page doesn’t cover what each plan includes for back-end use. For current limits, see Lovable credits explained and Bolt tokens explained.
How to find out if your app has one
Ask the AI, without changing anything:
Does this app have a back-end? In plain language, tell me where the data people enter is stored (only in the browser, or in a database), how sign-in works, and which outside services the app connects to and where their keys are kept. Don't show me the keys and don't change any code.
If the answer is “only in the browser” and you need the data on more than one device, ask for a database next. If the AI says there is a database, the next question is who can read it.
The security rule to know
A back-end also decides who may see what. Supabase’s docs say its secret key skips the database’s row-level security (RLS) and must never go in a browser, a shipped app or source control; only the publishable key is meant for the browser. They also say to turn RLS on for every table in an exposed schema.
If your app has users and stores their data, read Could my app be exposing personal data? and How to keep API keys safe. If you see a database error, How to fix database errors in a vibe-coded app explains the common ones.
Sources, checked on November 14, 2026: MDN, Introduction to the server side; Lovable, Cloud and Supabase; Bolt, Bolt Cloud, built-in database and Supabase; Supabase, Row Level Security and API keys.