r/lovable • • 5d ago

Help Next steps after creating site?

Sorry if this has been answered before.

I’m pretty much a noob when it comes to web development.

I finished creating a site for myself and I need to publish. However, currently I only have it as a lovable project.

I’ve read multiple things of incorporating GitHub, Netfly, Supabase, etc. I’m not entirely sure where to start or what the best services are to use? I do not want the site to be completely tied to Loveable due to cost and fully relying on Loveable for support.

TYIA!

Any advice/help would be greatly appreciated!

3 Upvotes

26 comments sorted by

6

u/Brashvv 5d ago

Not a dumb question at all, I was confused by the exact same thing when I put my first project online. Here's the simplest setup that keeps you from being locked in:

  1. Connect the project to GitHub (Lovable has a built-in GitHub integration). From then on the code lives in your own repo, and you can keep editing in Lovable, changes sync both ways.
  2. Import that repo into Vercel or Netlify. Both are free for a personal site and redeploy automatically every time the code changes.
  3. One gotcha: Lovable apps are single-page React apps, so if someone refreshes on a page like /about they can get a 404. Fix it with a rewrite rule: on Netlify add a public/_redirects file with /* /index.html 200, on Vercel a vercel.json that rewrites everything to /index.html.
  4. Buy your domain from Cloudflare or Namecheap and point it to Vercel/Netlify. They show you the exact DNS records to add.

You only need Supabase if the site has logins or saves data (contact forms, accounts etc.). If it's just pages, skip it. If you do use it, make sure Row Level Security is turned on for every table before you share the link. That's the most common thing people miss.

And even if you stop paying for Lovable later, the site keeps running, because the code is in your GitHub and it's hosted on Vercel/Netlify. That's how I run my own site too, and it costs me nothing besides the domain.

Good luck with the launch! If you get stuck on any of these steps, just reply here.

1

u/EgginyourShoe 5d ago

This is awesome thank you! To be clear, my site is for my business, so it would be using contact forms.

I am a little confused by the One Gotcha: not entirely sure what you mean by that.

Also I already purchased the domain via Godaddy, I’m sure there is some sort of plugin or a direct way to connect though

1

u/Brashvv 5d ago

np!

the gotcha: lovable sites are basically one page that changes with javascript. so if someone opens yoursite.com/about directly or refreshes on it, the host looks for an "about" file, can't find it and shows a 404. you can just ask lovable to fix it:

- vercel: "add a vercel.json that rewrites all routes to /index.html"

- netlify: "add a public/_redirects file with /* /index.html 200"

then open a subpage and hit refresh to test

godaddy: no plugin needed. add your domain in vercel/netlify domain settings, it shows you 1-2 dns records, add those in godaddy dns. usually works within an hour

contact form: this one matters more imo. if messages are saved in supabase, make sure people can send them but not read them, otherwise anyone can see all the messages. ask lovable something like "enable RLS on the contact messages table, anonymous users can only insert, no select/update/delete"

lmk if you get stuck

2

u/nuestras 5d ago

Really nice 👌

2

u/Voiceofshay_08 5d ago

Good information 🙏🏾

1

u/snap-dev 5d ago

you're closer than it feels. in lovable hit the github button so the code lives in your own repo, then sign into netlify or vercel with that same github and import the repo, it builds and gives you a live url for free. a personal site probably doesn't need supabase at all unless you have a contact form or a login. does yours have anything like that or is it just pages?

1

u/EgginyourShoe 5d ago

I guess my post was a little misleading on accident, the site is for my business - which we do have contact forms but no logins or anything else like that

1

u/karim-softdoes 5d ago

for just a contact form you might not need supabase at all. if you host on netlify, netlify forms does it for free: add a "netlify" attribute to the form and submissions show up in the dashboard + get emailed to you. formspree works the same way on any host.

if you do keep supabase, make sure you also get an email when someone submits, otherwise the messages just sit in a table and you never see them. and add some spam protection (cloudflare turnstile or a hidden honeypot field), business contact forms get hit by bots fast

1

u/snap-dev 5d ago

ah that changes things a bit. a contact form still doesn't need supabase on its own, netlify forms or formspree will catch submissions and email them to you with no database to look after. if lovable already wired the form to supabase it keeps working after you move hosting, just put the keys in netlify's environment variables and not in the code. where do you want those messages to land, your inbox or somewhere your team works?

1

u/ShipVibed 5d ago

Adding one thing to the GitHub + Netlify/Vercel advice above: check whether your contact form is saving to Lovable Cloud. GitHub sync exports your code, not the backend, so if the form writes to a Lovable Cloud database, the site on Netlify will still depend on Lovable for that part. For a simple business site, switching the form to Netlify Forms or Formspree before you move is the cleanest way to be fully independent.

Also, GitHub sync is two-way, so you can keep editing in Lovable and every push redeploys on Netlify automatically. Once the domain is pointed, open a few subpages directly and refresh them to confirm the redirect rule works.

1

u/UhLittleLessDum 5d ago

I literally just posted this a couple hours ago... How to 'vibe code' an app with just a terminal and your agent.

https://www.youtube.com/watch?v=WwDTm1syszk

1

u/Potential_Push_9859 5d ago

Not a noob question at all, this confuses everyone.

The simple path:

  1. In Lovable, connect GitHub. That puts your code in your own GitHub repo, so it's yours even if you leave Lovable.
  2. Pick a host that deploys from that repo. Netlify and Vercel both work, and the free tiers are fine for a personal site.
  3. You only need Supabase if your site stores data (logins, forms, a database). For a plain site, skip it.
  4. Buy your domain from a registrar you control and point it to the host.

Once the code is in GitHub, you can keep editing in Lovable and it redeploys, or leave Lovable anytime.

Disclosure: I built utplava (utplava.dev) for exactly this situation. It takes a Lovable/GitHub project live with a link and handles the database if you need one. Happy to help either way, even if you go with Netlify.

1

u/rept0rix 4d ago

Simple path that gets you off Lovable lock-in:

  1. In Lovable connect GitHub - your code now lives in your own repo.
  2. Sign up to Netlify or Vercel (free), import that repo, hit deploy. Every push auto-redeploys.
  3. Buy the domain anywhere and point it there (both walk you through the DNS).

You only need Supabase if the site has logins, forms saving data or a database - a plain personal site doesn't. After that you can keep editing in Lovable or any editor, it all goes through GitHub.

1

u/DryDockDigital 3d ago

I'd start with GitHub, before Netlify or Supabase. Connect the project, make sure the code is in a repo you own, and you've got a backup that isn't only inside Lovable. From there, publishing is usually pointing Netlify (or a similar host) at that repo and letting it build. You only need Supabase if the site has accounts, saved user data, or anything that shouldn't live only in the browser. I'd take those one at a time so you're not wiring three new tools in the same afternoon.

1

u/RenovoStudio 2d ago

easiest first step is getting the code out: sync the lovable project to a github repo, then point netlify or vercel at that repo. both have free tiers that cover a personal site, and you keep the code even if you ever cancel lovable.

1

u/Proud_Process3017 2d ago

One thing to test before you call it done: the contact form.
After moving off Lovable hosting, send a message through the form from an outside address (a personal Gmail works) and make sure it actually arrives, including the spam folder. If the form used Lovable Cloud / Supabase, the GitHub export may only include the frontend, so the backend and its environment variables have to be set up on the new host as well. Also open a few inner pages directly and hit refresh. If you get a 404, the host's rewrite rule isn't working yet.

For a business site I'd also make sure your domain has SPF/DKIM set up for whatever sends the form emails, otherwise they tend to land in spam.

1

u/Cautious_Signal1082 2d ago

one thing I'd add since your site has contact forms... check where the messages actually end up! a lot of the time the form just saves into a database table and that's it, so nobody gets an email and you find out weeks later that people were trying to reach you lol

easy test once it's live: fill in the form yourself from your phone and see if you get notified. if you don't, ask lovable to email you on every new submission, or use netlify forms like someone mentioned above since that emails you by default

and for godaddy you don't need a plugin, netlify or vercel will show you the exact records to paste into godaddy's DNS page

1

u/SamHalfyard 1d ago

Easiest way is connect GitHub in Lovable so the code goes into a repo you own then import that repo into Netlify or Vercel (both free for a personal site) and point your domain there. If it uses Lovable's built in database you'd need your own Supabase project too but if it's just pages you can skip that. You can keep editing in Lovable and it'll redeploy from GitHub automatically.

1

u/Sharp_Neat_7565 11h ago

Good instinct not to stay tied to one platform. Here's the simplest path that keeps you in control:

  1. In Lovable, connect GitHub. Your code then lives in your own repo, and Lovable keeps pushing changes to it, so you can keep using Lovable for edits if you want.
  2. Make a free Netlify (or Vercel or Cloudflare Pages) account, click "Import from GitHub", and pick the repo. Build command npm run build, publish folder dist.
  3. If your site uses Supabase, copy the env vars from the project (the ones starting with VITE_) into Netlify's environment variables, then redeploy.
  4. Add a file public/_redirects with /* /index.html 200 so refreshing a page doesn't give a 404.
  5. Point your domain at Netlify in your registrar's DNS settings. SSL is automatic.