Let's assume for a second that we are done with the development, and we want to share our cool application
with someone else.
How do we do this?
Do we simply share this address that we see here?
Well, actually not that wouldn't really work.
We only want to share this part here, which is pretty much the preview.
So in order to share this application with someone else, we need to deploy.
So deploying an application essentially means going from the preview mode that we have right now and
making the application available to someone else.
And this is done very easily from this publish button here, which probably discovered on your own,
but just wanted to briefly go over it.
So what we're going to see here is a few important things.
First of all, we're going to have here the domain itself.
And this is going to be hosted on that lovable Dot app.
So this is where initially we can publish our domain.
We can also go to manage and find additional information there.
But most importantly we're going to see here that under Supabase we have two security issues.
Well, this is interesting.
Let's see which are these security issues and why is this a problem.
So if we're going here we're going to take a look and see that from Supabase.
We are now on Supabase.
We are getting here these errors.
And it's going to tell us here row level security has not enabled in tables.
So this is I think that we haven't specified in our specification.
So this is something that even ChatGPT has missed as being important in regards to this.
It's a good thing that we're getting this particular information here.
So before we actually click on that deploy, we should make sure that we don't have any errors here
because this can pose serious issues to our application.
If you want to go ahead and publish this, simply go ahead and publish with security issues.
But ideally there shouldn't be any security issues.
Then you're going to find this link here and you can share it with anyone else.
It only takes a few seconds to get this deployment done.