The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: markdown code block languages for code hike
Greg Richardsonda3057df8e45
diff --git a/apps/docs/pages/guides/ai/examples/nextjs-vector-search.mdx b/apps/docs/pages/guides/ai/examples/nextjs-vector-search.mdxindex 01bef30379e..b340a6607b6 100644--- a/apps/docs/pages/guides/ai/examples/nextjs-vector-search.mdx+++ b/apps/docs/pages/guides/ai/examples/nextjs-vector-search.mdx@@ -284,7 +284,7 @@ With our database set up, we need to process and store all `.mdx` files in the `<StepHikeCompact.Code>- ```txt+ ```bashNEXT_PUBLIC_SUPABASE_URL=NEXT_PUBLIC_SUPABASE_ANON_KEY=SUPABASE_SERVICE_ROLE_KEY=diff --git a/apps/docs/pages/guides/cli/using-environment-variables-in-config.mdx b/apps/docs/pages/guides/cli/using-environment-variables-in-config.mdxindex c5a5e24524d..b50724d29cb 100644--- a/apps/docs/pages/guides/cli/using-environment-variables-in-config.mdx+++ b/apps/docs/pages/guides/cli/using-environment-variables-in-config.mdx@@ -12,7 +12,7 @@ We can reference the environment variable by using the `env()` function.Inside of our `.env` file we add the environment variable as we normally would-```env+```bashGITHUB_CLIENT_ID=""GITHUB_SECRET=""```diff --git a/apps/docs/pages/guides/functions/kysely-postgres.mdx b/apps/docs/pages/guides/functions/kysely-postgres.mdxindex e343a16f89b..765946a81ef 100644--- a/apps/docs/pages/guides/functions/kysely-postgres.mdx+++ b/apps/docs/pages/guides/functions/kysely-postgres.mdx@@ -26,7 +26,7 @@ Find the example on [GitHub](https://github.com/supabase/supabase/tree/master/exGet your database connection credentials from your [Supabase Dashboard](https://app.supabase.com/project/_/settings/database) and store them in an `.env` file:-```txt .env+```bash .envDB_HOSTNAME=DB_PASSWORD=DB_SSL_CERT="-----BEGIN CERTIFICATE-----diff --git a/apps/docs/pages/guides/functions/quickstart.mdx b/apps/docs/pages/guides/functions/quickstart.mdxindex a01448526ab..235556c439e 100644--- a/apps/docs/pages/guides/functions/quickstart.mdx+++ b/apps/docs/pages/guides/functions/quickstart.mdx@@ -132,7 +132,7 @@ In a given workspace (or workspace folder), sub-paths can be enabled for Deno, wFor example if you have a project like this:-```txt+```project├── app└── supabase@@ -201,7 +201,7 @@ For use-cases which require low-latency we recommend [Edge Functions](/docs/guidWe recommend developing “fat functions”. This means that you should develop few large functions, rather than many small functions. One common pattern when developing Functions is that you need to share code between two or more Functions. To do this, you can store any shared code in a folder prefixed with an underscore (`_`). We recommend this folder structure:-```txt+```bash└── supabase├── functions│ ├── import_map.json # A top-level import map to use across functions.diff --git a/apps/docs/pages/guides/integrations/picket.mdx b/apps/docs/pages/guides/integrations/picket.mdxindex 0508e5cfa18..55f7c755e57 100644--- a/apps/docs/pages/guides/integrations/picket.mdx+++ b/apps/docs/pages/guides/integrations/picket.mdx@@ -97,7 +97,7 @@ Create a `.env.local` file and enter the following values- `NEXT_PUBLIC_SUPABASE_ANON_KEY` => You can find this project API key under "Settings > API" in your Supabase project- `SUAPBASE_JWT_SECRET`=> You can find this secret under "Settings > API" in your Supabase project-```txt+```bashNEXT_PUBLIC_PICKET_PUBLISHABLE_KEY="YOUR_PICKET_PUBLISHABLE_KEY"PICKET_PROJECT_SECRET_KEY="YOUR_PICKET_PROJECT_SECRET_KEY"NEXT_PUBLIC_SUPABASE_URL="YOUR_SUPABASE_URL"diff --git a/apps/docs/pages/guides/integrations/prisma.mdx b/apps/docs/pages/guides/integrations/prisma.mdxindex b8b07e3c038..0aba729806b 100644--- a/apps/docs/pages/guides/integrations/prisma.mdx+++ b/apps/docs/pages/guides/integrations/prisma.mdx@@ -68,8 +68,7 @@ touch .envIn the `.env` file, add a `DATABASE_URL` variable and add the connection string from **step 1**. The `.env` file should look like:-```env-# .env+```bash .envDATABASE_URL="postgres://postgres:[YOUR-PASSWORD]@db.[YOUR-PROJECT-REF].supabase.co:5432/postgres"```@@ -147,13 +146,12 @@ Append the `?pgbouncer=true` flag to the `DATABASE_URL` variable.Your `.env` file should resemble the following:-```env-# .env+```bash .env# PostgreSQL connection string used for migrationsDIRECT_URL="postgres://postgres:[YOUR-PASSWORD]@db.[YOUR-PROJECT-REF].supabase.co:5432/postgres"+# PostgreSQL connection string with pgBouncer config — used by Prisma ClientDATABASE_URL="postgres://postgres:[YOUR-PASSWORD]@db.[YOUR-PROJECT-REF].supabase.co:6543/postgres?pgbouncer=true"-```Update your Prisma schema by setting the `directUrl` in the datasource block: