frontendbeginner

Backend

The hidden part of your app that handles data and logic.

What is Backend?

The backend runs on a server, not in the browser. It handles things like saving to a database, sending emails, processing payments, and authenticating users. When vibe coded apps break, it's often at the frontend-backend connection.

You can think of the backend as the kitchen in a restaurant. Customers (users) never see it, but that's where all the real work happens.

In Vibe Coding

Lovable connects to Supabase for backend needs. Cursor can build custom backends with Next.js API routes. When your vibe coded app needs to do something users shouldn't see — like charging a card or checking passwords — that happens on the backend.

Example

For example: When a user clicks "Buy Now," the frontend shows a loading spinner. Behind the scenes, the backend talks to Stripe, processes the payment, saves the order, and sends a confirmation email.

Related Terms

Related Guides