The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Updates all examples
Copple96de33dd0680
diff --git a/apps/www/_blog/2021-03-02-supabase-beta-february-2021.mdx b/apps/www/_blog/2021-03-02-supabase-beta-february-2021.mdxindex 5a184600c47..35bb2236f89 100644--- a/apps/www/_blog/2021-03-02-supabase-beta-february-2021.mdx+++ b/apps/www/_blog/2021-03-02-supabase-beta-february-2021.mdx@@ -78,9 +78,9 @@ Launch your database in South Africa.### Community-One of the community, [@ftonato](https://github.com/ftonato), has built an amazing [example](https://github.com/supabase/supabase/tree/master/examples/with-stencil) that shows how to use Supabase with [Stencil](https://stenciljs.com/) (a Web Component compiler built by they [Ionic](https://ionicframework.com/) team.)+One of the community, [@ftonato](https://github.com/ftonato), has built an amazing [example](https://github.com/supabase/examples/tree/main/supabase-js-v1/with-stencil) that shows how to use Supabase with [Stencil](https://stenciljs.com/) (a Web Component compiler built by they [Ionic](https://ionicframework.com/) team.)-[Check it out!](https://github.com/supabase/supabase/tree/master/examples/with-stencil)+[Check it out!](https://github.com/supabase/examples/tree/main/supabase-js-v1/with-stencil)diff --git a/apps/www/_blog/2021-04-06-supabase-beta-march-2021.mdx b/apps/www/_blog/2021-04-06-supabase-beta-march-2021.mdxindex 073fad6dbb0..6f4eb3c9995 100644--- a/apps/www/_blog/2021-04-06-supabase-beta-march-2021.mdx+++ b/apps/www/_blog/2021-04-06-supabase-beta-march-2021.mdx@@ -95,7 +95,7 @@ Thanks to a comunity contribution ([@\_mateomorris](https://twitter.com/_mateomo- Ionic Integration by [Simon Grimm](https://www.youtube.com/user/saimon1924) [[Video](https://www.youtube.com/watch?v=pl9XfIWutKE)]- Flutter Integration by [Aditya Thakur](https://www.youtube.com/channel/UChCAJNpMwoEUYCsE_eSyU4w) by [[Video](https://www.youtube.com/watch?v=fqfHEZvQPlY)]- Svelte Integration by [Khaerunnisa Isnaeni](https://www.youtube.com/channel/UCqNDj6eQeTLHuEwgEHWOGjw) [[Video](https://www.youtube.com/watch?v=odPYzJJyEJI)]-- An [example app](https://github.com/supabase/supabase/tree/master/examples/nextjs-ts-user-management) for adding User Profiles to your Next.js app+- An [example app](https://github.com/supabase/examples/tree/main/supabase-js-v1/user-management) for adding User Profiles to your Next.js appdiff --git a/apps/www/_blog/2022-02-22-supabase-beta-january-2022.mdx b/apps/www/_blog/2022-02-22-supabase-beta-january-2022.mdxindex da70c2b978c..8615f4d2e40 100644--- a/apps/www/_blog/2022-02-22-supabase-beta-january-2022.mdx+++ b/apps/www/_blog/2022-02-22-supabase-beta-january-2022.mdx@@ -95,12 +95,12 @@ type AccountHolder {It’s all anyone seems to be [talking about](https://twitter.com/jkup/status/1456360115205033989). We genuinely love what [Remix](https://remix.run/) are doing, so it’s only right that we show off how Remix and Supabase work well together.-Check out the new [Remix Auth example](https://github.com/supabase/supabase/tree/master/examples/remix-auth), and let us know what you think.+Check out the new [Remix Auth example](https://github.com/supabase/examples/tree/main/supabase-js-v1/auth/remix-auth), and let us know what you think.### Expo Todo ListOur React Native example has been correctly updated to be an Expo example.-[Check it out here](https://github.com/supabase/supabase/tree/master/examples/todo-list/expo-todo-list).+[Check it out here](https://github.com/supabase/examples/tree/main/supabase-js-v1/todo-list/expo-todo-list).## Video: API requests with Database Webhooksdiff --git a/apps/www/_blog/2022-03-31-supabase-edge-functions.mdx b/apps/www/_blog/2022-03-31-supabase-edge-functions.mdxindex fe17cc6ef21..17965805b2a 100644--- a/apps/www/_blog/2022-03-31-supabase-edge-functions.mdx+++ b/apps/www/_blog/2022-03-31-supabase-edge-functions.mdx@@ -98,7 +98,7 @@ Our observability pipeline has been built [using Logflare](https://supabase.com/new —> deploy —> invoke —> logs-To round off the end-to-end experience, `supabase-js` now works in Deno, making it easy to interact with the rest of your Supabase project from within your Edge Functions. Your project's URLs, API keys, and database connection strings are made available as environment variables within your Function to make this even easier. And if you want to interact with third-party APIs which require a secret key, such as Stripe, you can easily and securely make these available to your Function as environment variables via the Supabase CLI. To get an idea for what is possible, check out our examples page [here](https://github.com/supabase/supabase/tree/master/examples/edge-functions).+To round off the end-to-end experience, `supabase-js` now works in Deno, making it easy to interact with the rest of your Supabase project from within your Edge Functions. Your project's URLs, API keys, and database connection strings are made available as environment variables within your Function to make this even easier. And if you want to interact with third-party APIs which require a secret key, such as Stripe, you can easily and securely make these available to your Function as environment variables via the Supabase CLI. To get an idea for what is possible, check out our examples page [here](https://github.com/supabase/examples/tree/main/supabase-js-v1/edge-functions).## Quickstartdiff --git a/apps/www/_blog/2022-04-01-hackathon-bring-the-func.mdx b/apps/www/_blog/2022-04-01-hackathon-bring-the-func.mdxindex 31ab4628aae..138ef0de773 100644--- a/apps/www/_blog/2022-04-01-hackathon-bring-the-func.mdx+++ b/apps/www/_blog/2022-04-01-hackathon-bring-the-func.mdx@@ -132,7 +132,7 @@ Here's a collection of resources that will help you get started building with Su- [Edge Functions Guide](https://supabase.com/docs/guides/functions)- [Edge Functions Quickstart video](https://youtu.be/rzglqRdZUQE)- [Supabase CLI local development guide](https://supabase.com/docs/guides/local-development)-- [Edge Functions examples](https://github.com/supabase/supabase/tree/master/examples/edge-functions)+- [Edge Functions examples](https://github.com/supabase/examples/tree/main/supabase-js-v1/edge-functions)### Additional Infodiff --git a/apps/www/_blog/2022-04-18-bring-the-func-hackathon-winners.mdx b/apps/www/_blog/2022-04-18-bring-the-func-hackathon-winners.mdxindex 603cb16ea8f..249fa8b6ea1 100644--- a/apps/www/_blog/2022-04-18-bring-the-func-hackathon-winners.mdx+++ b/apps/www/_blog/2022-04-18-bring-the-func-hackathon-winners.mdx@@ -99,6 +99,6 @@ If you're inspired to build, check out some of the latest resources:- [Edge Functions Guide](https://supabase.com/docs/guides/functions)- [Edge Functions Quickstart video](https://youtu.be/rzglqRdZUQE)- [Supabase CLI local development guide](https://supabase.com/docs/guides/local-development)-- [Edge Functions examples](https://github.com/supabase/supabase/tree/master/examples/edge-functions)+- [Edge Functions examples](https://github.com/supabase/examples/tree/main/supabase-js-v1/edge-functions)[^1]: Updated on June 14 2022 for search optimization: Removed links as account does not exist anymore on GitHubdiff --git a/apps/www/_blog/2022-06-07-beta-update-may-2022.mdx b/apps/www/_blog/2022-06-07-beta-update-may-2022.mdxindex c3b70e34898..8651a209a51 100644--- a/apps/www/_blog/2022-06-07-beta-update-may-2022.mdx+++ b/apps/www/_blog/2022-06-07-beta-update-may-2022.mdx@@ -20,9 +20,9 @@ Wildcard redirects are especially useful for Jamstack platforms with preview dep## Supabase Edge functions with Webhooks-Now you can deploy functions with optional JWT verification. This makes it easier to trigger Edge Functions with webhooks. Use the -no-verify-jwt flag when deploying your functions via the CLI to enable this mode. You can test this out with our [Edge Functions Telegram Bot example](https://github.com/supabase/supabase/tree/master/examples/edge-functions/supabase/functions/telegram-bot).+Now you can deploy functions with optional JWT verification. This makes it easier to trigger Edge Functions with webhooks. Use the -no-verify-jwt flag when deploying your functions via the CLI to enable this mode. You can test this out with our [Edge Functions Telegram Bot example](https://github.com/supabase/examples/tree/main/supabase-js-v1/edge-functions/supabase/functions/telegram-bot).-[](https://github.com/supabase/supabase/tree/master/examples/edge-functions/supabase/functions/telegram-bot)+[](https://github.com/supabase/examples/tree/main/supabase-js-v1/edge-functions/supabase/functions/telegram-bot)## Metrics for everybody@@ -39,7 +39,7 @@ The Policy editor now includes a “Target roles” field. We now have a strong## State of DB 2022Basedash conducted a survey that takes the pulse of the current databases that teams, individuals, startups, enterprises and hobbyists are using.-+Supabase was listed in two categories, including the first place in satisfaction for hosting providers (84% of users would use us again 🙏). [Full results](https://stateofdb.com/).[](https://stateofdb.com/)@@ -67,7 +67,7 @@ There is an opportunity to work inside the growth team at Supabase. It's still a### DeepnoteDeepnote is a data notebook that’s built for collaboration — Jupyter compatible, works magically in the cloud, and sharing is as easy as sending a link.-+You can connect your Supabase Postgres Database to your Deepnote notebooks to quickly analyze data and share your findings with others. [Check out the guide](https://docs.deepnote.com/integrations/supabase).[](https://docs.deepnote.com/integrations/supabase)diff --git a/apps/www/components/BuiltWithSupabase/index.tsx b/apps/www/components/BuiltWithSupabase/index.tsxindex f6d5541a538..25278aea0a1 100644--- a/apps/www/components/BuiltWithSupabase/index.tsx+++ b/apps/www/components/BuiltWithSupabase/index.tsx@@ -21,8 +21,8 @@ const BuiltExamples = () => {</Button></Link><Link- href="https://github.com/supabase/supabase/tree/master/examples"- as="https://github.com/supabase/supabase/tree/master/examples"+ href="https://github.com/supabase/examples"+ as="https://github.com/supabase/examples"passHref><Button as="a" type="default" icon={<IconGitHub />} size="small">diff --git a/apps/www/components/Sections/GithubExamples.tsx b/apps/www/components/Sections/GithubExamples.tsxindex bbf0686b155..c1ced5548e4 100644--- a/apps/www/components/Sections/GithubExamples.tsx+++ b/apps/www/components/Sections/GithubExamples.tsx@@ -42,8 +42,8 @@ function GithubExamples() {</Button></Link><Link- href="https://github.com/supabase/supabase/tree/master/examples"- as="https://github.com/supabase/supabase/tree/master/examples"+ href="https://github.com/supabase/examples"+ as="https://github.com/supabase/examples"><Button size="small" as="a" type="default" icon={<IconGitHub size={12} />}>Official GitHub librarydiff --git a/apps/www/data/Examples.json b/apps/www/data/Examples.jsonindex 7713c9d9b0b..7a590586647 100644--- a/apps/www/data/Examples.json+++ b/apps/www/data/Examples.json@@ -21,7 +21,7 @@"author_url": "https://github.com/supabase","author_img": "https://avatars.githubusercontent.com/u/54469796","repo_name": "nextjs-slack-clone",- "repo_url": "https://github.com/supabase/supabase/tree/master/examples/slack-clone/nextjs-slack-clone",+ "repo_url": "https://github.com/supabase/examples/tree/main/supabase-js-v1/slack-clone/nextjs-slack-clone","vercel_deploy_url": "","demo_url": ""},@@ -86,7 +86,7 @@"author_url": "https://github.com/supabase","author_img": "https://avatars.githubusercontent.com/u/54469796","repo_name": "javascript-auth",- "repo_url": "https://github.com/supabase/supabase/tree/master/examples/auth/javascript-auth",+ "repo_url": "https://github.com/supabase/examples/tree/main/supabase-js-v1/auth/javascript-auth","vercel_deploy_url": "","demo_url": "https://auth-vanilla-js.vercel.app/"},@@ -99,7 +99,7 @@"author_url": "https://github.com/supabase","author_img": "https://avatars.githubusercontent.com/u/54469796","repo_name": "expo-todo-list",- "repo_url": "https://github.com/supabase/supabase/tree/master/examples/todo-list/expo-todo-list",+ "repo_url": "https://github.com/supabase/examples/tree/main/supabase-js-v1/todo-list/react-native-ts-todo-list","vercel_deploy_url": "","demo_url": ""},@@ -112,7 +112,7 @@"author_url": "https://github.com/supabase","author_img": "https://avatars.githubusercontent.com/u/54469796","repo_name": "nextjs-todo-list",- "repo_url": "https://github.com/supabase/supabase/tree/master/examples/todo-list/nextjs-todo-list",+ "repo_url": "https://github.com/supabase/examples/tree/main/supabase-js-v1/todo-list/nextjs-todo-list","vercel_deploy_url": "","demo_url": "https://supabase-nextjs-todo-list.vercel.app/"},@@ -125,7 +125,7 @@"author_url": "https://github.com/supabase","author_img": "https://avatars.githubusercontent.com/u/54469796","repo_name": "react-todo-list",- "repo_url": "https://github.com/supabase/supabase/tree/master/examples/todo-list/react-todo-list",+ "repo_url": "https://github.com/supabase/examples/tree/main/supabase-js-v1/todo-list/react-todo-list","vercel_deploy_url": "","demo_url": ""},@@ -138,7 +138,7 @@"author_url": "https://github.com/supabase","author_img": "https://avatars.githubusercontent.com/u/54469796","repo_name": "sveltejs-todo-list",- "repo_url": "https://github.com/supabase/supabase/tree/master/examples/todo-list/sveltejs-todo-list",+ "repo_url": "https://github.com/supabase/examples/tree/main/supabase-js-v1/todo-list/sveltejs-todo-list","vercel_deploy_url": "","demo_url": ""},@@ -151,7 +151,7 @@"author_url": "https://github.com/supabase","author_img": "https://avatars.githubusercontent.com/u/54469796","repo_name": "vue3-ts-todo-list",- "repo_url": "https://github.com/supabase/supabase/tree/master/examples/todo-list/vue3-ts-todo-list",+ "repo_url": "https://github.com/supabase/examples/tree/main/supabase-js-v1/todo-list/vue3-ts-todo-list","vercel_deploy_url": "","demo_url": ""},@@ -164,7 +164,7 @@"author_url": "https://github.com/geromegrignon","author_img": "https://avatars.githubusercontent.com/u/32737308","repo_name": "angular-todo-list",- "repo_url": "https://github.com/supabase/supabase/tree/master/examples/todo-list/angular-todo-list",+ "repo_url": "https://github.com/supabase/examples/tree/main/supabase-js-v1/todo-list/angular-todo-list","vercel_deploy_url": "","demo_url": ""}diff --git a/apps/www/data/ProjectExamples.json b/apps/www/data/ProjectExamples.jsonindex 9aa3c14bc91..fe61e2014c5 100644--- a/apps/www/data/ProjectExamples.json+++ b/apps/www/data/ProjectExamples.json@@ -23,7 +23,7 @@{"imgUrl": "images/slack-clone.jpg","title": "Chat app with Next.js",- "url": "https://github.com/supabase/supabase/tree/master/examples/slack-clone/nextjs-slack-clone",+ "url": "https://github.com/supabase/examples/tree/main/supabase-js-v1/slack-clone/nextjs-slack-clone","description": "Build a full-stack Slack clone using Next.js and Supabase.","icons": [{@@ -40,7 +40,7 @@{"imgUrl": "images/to-do-app.jpg","title": "Todo list with Vue.js",- "url": "https://github.com/supabase/supabase/tree/master/examples/todo-list/vue3-ts-todo-list",+ "url": "https://github.com/supabase/examples/tree/main/supabase-js-v1/todo-list/vue3-ts-todo-list","description": "Build a simple todo list with Vue and Supabase.","icons": [{diff --git a/apps/www/pages/storage/Storage.tsx b/apps/www/pages/storage/Storage.tsxindex 686d543921a..d3c1fe1925b 100644--- a/apps/www/pages/storage/Storage.tsx+++ b/apps/www/pages/storage/Storage.tsx@@ -155,7 +155,7 @@ function StoragePage() {author_img={'https://avatars.githubusercontent.com/u/54469796'}repo_name={'nextjs-ts-user-management'}repo_url={- 'https://github.com/supabase/supabase/tree/master/examples/user-management/nextjs-ts-user-management'+ 'https://github.com/supabase/examples/tree/main/supabase-js-v1/user-management/nextjs-ts-user-management'}vercel_deploy_url={'https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fsupabase%2Fsupabase%2Ftree%2Fmaster%2Fexamples%2Fuser-mangement%2Fnextjs-ts-user-management&project-name=supabase-user-management&repository-name=supabase-user-management&demo-title=Supabase%20User%20Management&demo-description=An%20example%20web%20app%20using%20Supabase%20and%20Next.js&demo-url=https%3A%2F%2Fsupabase-nextjs-ts-user-management.vercel.app&demo-image=https%3A%2F%2Fi.imgur.com%2FZ3HkQqe.png&integration-ids=oac_jUduyjQgOyzev1fjrW83NYOv&external-id=nextjs-user-management'