Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/content/docs/get-started/supabase-new.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ import SetupEnv from '@mdx/get-started/SetupEnv.mdx';
- **Supabase** - open source Firebase alternative - [read here](https://supabase.com/)
</Prerequisites>

<Callout title='other Supabase docs'>
This guide sets up a new project from scratch. For connection options and pooling, see [Drizzle \<\> Supabase](/docs/connect-supabase). For a walkthrough that covers migrations, Row Level Security and querying, see the [Supabase tutorial](/docs/tutorials/drizzle-with-supabase).
</Callout>

<FileStructure/>

#### Step 1 - Install **postgres** package
Expand Down
4 changes: 4 additions & 0 deletions src/content/docs/pg/connect-supabase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ According to the **[official website](https://supabase.com/docs)**, Supabase is

Checkout official **[Supabase + Drizzle](https://supabase.com/docs/guides/database/drizzle)** docs.

<Callout title='other Supabase docs'>
This page covers connecting Drizzle to Supabase. To set up a new project step by step, see [Get Started with Drizzle and Supabase](/docs/get-started/supabase-new). For a walkthrough that covers migrations, Row Level Security and querying, see the [Supabase tutorial](/docs/tutorials/drizzle-with-supabase).
</Callout>

#### Step 1 - Install packages

<Npm>
Expand Down
4 changes: 4 additions & 0 deletions src/content/docs/tutorials/drizzle-with-supabase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ import Callout from '@mdx/Callout.astro';

This tutorial demonstrates how to use Drizzle ORM with [Supabase Database](https://supabase.com/docs/guides/database/overview). Every Supabase project comes with a full [Postgres](https://www.postgresql.org/docs) database.

<Callout title='other Supabase docs'>
This tutorial is the most complete of the three Supabase pages. For a shorter setup guide, see [Get Started with Drizzle and Supabase](/docs/get-started/supabase-new). For connection options and pooling, see [Drizzle \<\> Supabase](/docs/connect-supabase).
</Callout>

<Prerequisites>
- You should have installed Drizzle ORM and [Drizzle kit](/docs/kit-overview). You can do this by running the following command:
<Npm>
Expand Down