WEBVTT

00:02.040 --> 00:07.160
Let's assume for a second that we are done with the development, and we want to share our cool application

00:07.160 --> 00:08.480
with someone else.

00:08.480 --> 00:09.520
How do we do this?

00:09.520 --> 00:12.320
Do we simply share this address that we see here?

00:12.960 --> 00:16.080
Well, actually not that wouldn't really work.

00:16.320 --> 00:20.120
We only want to share this part here, which is pretty much the preview.

00:20.560 --> 00:24.560
So in order to share this application with someone else, we need to deploy.

00:24.760 --> 00:29.760
So deploying an application essentially means going from the preview mode that we have right now and

00:29.760 --> 00:32.200
making the application available to someone else.

00:32.480 --> 00:37.880
And this is done very easily from this publish button here, which probably discovered on your own,

00:37.880 --> 00:39.720
but just wanted to briefly go over it.

00:40.440 --> 00:44.880
So what we're going to see here is a few important things.

00:45.600 --> 00:49.000
First of all, we're going to have here the domain itself.

00:49.440 --> 00:53.920
And this is going to be hosted on that lovable Dot app.

00:54.520 --> 00:58.120
So this is where initially we can publish our domain.

00:58.120 --> 01:00.840
We can also go to manage and find additional information there.

01:01.440 --> 01:07.210
But most importantly we're going to see here that under Supabase we have two security issues.

01:07.210 --> 01:08.450
Well, this is interesting.

01:08.450 --> 01:12.210
Let's see which are these security issues and why is this a problem.

01:12.730 --> 01:17.930
So if we're going here we're going to take a look and see that from Supabase.

01:17.930 --> 01:19.450
We are now on Supabase.

01:20.170 --> 01:22.330
We are getting here these errors.

01:22.330 --> 01:27.490
And it's going to tell us here row level security has not enabled in tables.

01:27.770 --> 01:32.370
So this is I think that we haven't specified in our specification.

01:32.370 --> 01:38.090
So this is something that even ChatGPT has missed as being important in regards to this.

01:38.130 --> 01:41.490
It's a good thing that we're getting this particular information here.

01:42.010 --> 01:48.610
So before we actually click on that deploy, we should make sure that we don't have any errors here

01:48.610 --> 01:52.850
because this can pose serious issues to our application.

01:52.890 --> 01:58.810
If you want to go ahead and publish this, simply go ahead and publish with security issues.

01:58.810 --> 02:01.290
But ideally there shouldn't be any security issues.

02:01.290 --> 02:05.330
Then you're going to find this link here and you can share it with anyone else.

02:05.370 --> 02:08.490
It only takes a few seconds to get this deployment done.
