The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Adds videos to the docs
Paul Copplestonef8f156f48039
diff --git a/web/docs/guides/storage.mdx b/web/docs/guides/storage.mdxindex 479eb6ea517..f0c67d5efa7 100644--- a/web/docs/guides/storage.mdx+++ b/web/docs/guides/storage.mdx@@ -54,9 +54,16 @@ values={[<TabItem value="UI">```sh-Use the Supabase Dashboard to create a bucket.+1. Go to the "Storage" section.+2. Click "Create Bucket".+3. Enter the bucket name.+4. Click "Create Bucket".```+<video width="99%" muted playsInline controls="true">+<source src="/videos/storage/create.mp4" type="video/mp4" muted playsInline />+</video>+</TabItem><TabItem value="SQL">@@ -97,9 +104,16 @@ values={[<TabItem value="UI">```sh-Use the Supabase Dashboard to create a bucket.+1. Go to the "Storage" section.+2. Select the bucket you want to upload the file into.+3. Click "Upload File".+4. Select the file you want to upload in the dialog that appears.```+<video width="99%" muted playsInline controls="true">+<source src="/videos/storage/create.mp4" type="video/mp4" muted playsInline />+</video>+</TabItem><TabItem value="JS">@@ -128,9 +142,16 @@ values={[<TabItem value="UI">```sh-Use the Supabase Dashboard to create a bucket.+1. Go to the "Storage" section.+2. Select the bucket that contains the file.+3. Select the file that you want to download.+4. Click the "Download" button.```+<video width="99%" muted playsInline controls="true">+<source src="/videos/storage/download.mp4" type="video/mp4" muted playsInline />+</video>+</TabItem><TabItem value="JS">@@ -149,7 +170,7 @@ const { data, error } = await supabase### Add security rules-To restrict access to your files you can use either the Dashboard or SQL+To restrict access to your files you can use either the Dashboard or SQL.<TabsdefaultValue="UI"@@ -160,9 +181,17 @@ values={[<TabItem value="UI">```sh-Use the Supabase Dashboard to create Storage Policies.+1. Go to the "Storage" section.+2. Click "Policies" in the sidebar.+3. Click "Add Policies" in the "OBJECTS" table to add policies for Files. You can also create Policies for Buckets.+4. Choose whether you want the policy to apply to downloads (SELECT), uploads (INSERT), updates (UPDATE), or deletes (DELETE).+5. Give your policy a unique name.+6. Write the Policy using SQL.```+<video width="99%" muted playsInline controls="true">+<source src="/videos/storage/policies.mp4" type="video/mp4" muted playsInline />+</video></TabItem><TabItem value="SQL">diff --git a/web/static/videos/storage/create.mp4 b/web/static/videos/storage/create.mp4new file mode 100644index 00000000000..d5addac0968Binary files /dev/null and b/web/static/videos/storage/create.mp4 differdiff --git a/web/static/videos/storage/download.mp4 b/web/static/videos/storage/download.mp4new file mode 100644index 00000000000..6da5deb13f0Binary files /dev/null and b/web/static/videos/storage/download.mp4 differdiff --git a/web/static/videos/storage/policies.mp4 b/web/static/videos/storage/policies.mp4new file mode 100644index 00000000000..66c2edabef6Binary files /dev/null and b/web/static/videos/storage/policies.mp4 differdiff --git a/web/static/videos/storage/upload.mp4 b/web/static/videos/storage/upload.mp4new file mode 100644index 00000000000..9351c578b38Binary files /dev/null and b/web/static/videos/storage/upload.mp4 differ