Demo, all content is generated
Question

Lovable wants me to connect Supabase, what is it and do I really need it?

Solved · 5202 views · asked by bakery_bo · edited

I run a bakery and made a pre-order site in Lovable. Now I asked it to "let customers log in and see their orders" and it tells me to connect Supabase. I have no idea what that is. Is it expensive? Is it safe to give it my customers' data? Sorry if this is a dumb question.

What I’ve tried

Read the Supabase homepage, it talks about Postgres and APIs and I got lost. Asked Lovable to do it without Supabase, it said it needs a backend.

Comment
Not a dumb question, this is the most important question you can ask at this stage. wes_codes · edited

3 answers

Marked as helpful by the asker
mira_dev · edited

Not dumb at all. Right now your site lives only in the browser: it can show things, but it can't remember anything between visitors. Logins and orders need a place to be stored. That's what Supabase is:

  • Database: a set of tables (customers, orders) that stays around.
  • Auth: handles sign up, login, password reset, so you don't store passwords yourself.
  • Storage: for files like product photos.

Cost: the free tier is enough for a bakery for a long time (free projects do pause after a week of no activity; paid plan starts at around $25/month when you need it).

Safety: it's a serious, widely used service. The one thing you must understand: Row Level Security (RLS). These are rules like "a customer can only see their own orders". Lovable usually creates them, but before real customers arrive, ask someone to check them, or post them here. That's where most small apps leak data, not in Supabase itself.

Comment
This is the first explanation I actually understood. Connecting it now. bakery_bo · edited
Update: connected, login works, and I checked in the logged out test that I can't see orders. Thank you! bakery_bo · edited
Good answer. Would add: turn on the daily backups once you're on a paid plan. postgres_pete · edited
Saving this for when I get to the same step renata_builds · edited
hannah_reyes · edited

To add to that: you're not locked in. Supabase is Postgres, a standard database, so if you ever move away from Lovable or Supabase your data can come with you.

Comment
ingrid_h · edited

Also think about GDPR if you're in Europe: pick the EU region when you create the Supabase project. You can't change the region afterwards.

Comment
I'm in the Netherlands so good to know, picked Frankfurt bakery_bo · edited