Commit Graph

1073 Commits

Author SHA1 Message Date
MDL
3139f85b5d docs(react-native): Expo cross-platform social sign-in with complete example (#38178)
* docs(react-native): create the basic expo project

* docs(react-native): cross-platform Apple social sign-in

* docs(react-native): cross-platform Google social sign-in

* docs(react-native): fix typos

* docs(react-native): remove wrong entry in the `Connection` component

* Correct typos

* Prettier

* Draft

* Draft

* docs(react-native): use kebab-case file naming convention in Expo guide

- use kebab-case file naming convention in Expo guide
- add trailing semicolon to align with the standard Expo template conventions

* docs(react-native): use kebab-case file naming convention in Expo social auth example

* docs(react-native): update the packages of the Expo social auth example

* Fix

* Draft

* Changes

* Correct log message

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-09-19 16:53:35 +02:00
Filipe Cabaço
2b3abd79f5 realtime: improve getting started guide (#38562)
---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-17 14:31:58 +01:00
dependabot[bot]
9efc7cb2f8 chore(deps): bump vite from 7.0.5 to 7.1.5 in /examples/user-management/sveltekit-user-management (#38566)
chore(deps): bump vite

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.0.5 to 7.1.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.1.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.1.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-16 19:59:11 +00:00
dependabot[bot]
0f072e7dca chore(deps): bump hono from 4.6.16 to 4.9.7 in /examples/auth/hono (#38665)
Bumps [hono](https://github.com/honojs/hono) from 4.6.16 to 4.9.7.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.6.16...v4.9.7)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.9.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-16 17:02:26 -02:30
Filipe Cabaço
7fb163daa9 realtime: add ai rules (#38220)
---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-08-28 13:39:50 +01:00
Raúl Barroso
29ee6a2992 style: use GitHub's right product name (#38099)
* style: use GitHub's right product name

* fix: use correct kotlin provider
2025-08-22 13:43:47 +02:00
Stojan Dimitrovski
93ba2a312c docs: indicate publishable key instead of anon in many examples (#37411)
* docs: indicate publishable key instead of anon in many examples

* replace your-anon-key to string indicating publishable or anon

* fix your_...

* apply suggestion from @ChrisChinchilla

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Update keys in code examples

* Prettier fix

* Update apps/docs/content/guides/functions/schedule-functions.mdx

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-18 13:47:48 +02:00
Oleg Polin
4b2705f0ba fix(docs): update SvelteKit tutorial to use Svelte 5 syntax (#31229)
* docs: Update SvelteKit auth tutorial project creation syntax (#31114)

* docs: Update link to SvelteKit docs (#31114)

* Update +layout.svelte to Svelte 5 syntax (#31114)

* Update +page.svelte to use Svelte 5 syntax (#31114)

* Update account +page.svelte to use Svelte 5 syntax (#31114)

* Update account Avatar.svelte to use Svelte 5 syntax (#31114)

* Update SvelteKit example to Svelte 5 syntax (#31114)

* docs: Update npm dependencies (#31114)

* Start review

* Finish review

* Update code for SvelteKit 5

* Convert to codesamples

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-08-12 16:38:06 +02:00
Chris Chinchilla
e6e24aadad docs: Update user management docs for next JS (#37664)
* Draft

* Update text for guide

* Update text for guide

* Update code for newer next js versions

* Final small change

* Update apps/docs/content/_partials/project_setup.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Changes from review

* Use project name in tutorial text

* Fix up inclusion

* Fix inclusion

* Prettier

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-08-07 08:45:39 +00:00
dependabot[bot]
8ea9469e68 chore(deps): bump transformers from 4.36.0 to 4.53.0 in /examples/ai/image_search (#37734)
chore(deps): bump transformers in /examples/ai/image_search

Bumps [transformers](https://github.com/huggingface/transformers) from 4.36.0 to 4.53.0.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](https://github.com/huggingface/transformers/compare/v4.36.0...v4.53.0)

---
updated-dependencies:
- dependency-name: transformers
  dependency-version: 4.53.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rodrigo Mansueli <rodrigo@mansueli.com>
2025-08-06 20:59:49 +00:00
Charis
ef93da79b0 feat(docs): code samples with ts type stripping (#37695)
* feat(docs): code samples with ts type stripping

Introduce a new option to `$CodeSample`, `convertToJs`, which takes a
code sample written in TypeScript and strips the types to produce a
JavaScript version.

Adds tests for type stripping.

* Clarify instructions

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-06 10:21:51 -04:00
Chris Chinchilla
74a1cd8dfe docs: Update User management quickstart to Svelte 5 (#37646)
* General updates and switch to Svelte 5

* Update code example to Svelte 5

* Update some examples to use codesamples component

* Add Svelte to codesample component

* Final code updates

* Add more CodeSample components
2025-08-05 13:40:50 +00:00
Danny White
d914b81f47 feat: consolidate settings (#37580)
* feat: move storage settings

* feat: redirect

* feat: database settings in service area

* feat: move data api settings

* fix: revert data API placement

* feat: minor UX touches

* fix: simplify configuration group

* feat: references to database settings

* feat: references to storage settings

* fix: redirects and formatting

* fix: Import StorageMenu dynamically to avoid SSR issues with useLocalStorage

* fix: move Data API closer to semantic siblings

* fix: revert smart comma

* Shift bucket sort logic into storage explorer store

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-04 16:21:54 +10:00
Chris Chinchilla
0e2bd38457 Update Angular tutorial to use v20 (#37380)
* Add Chris Ward to humans

Signed-off-by: Chris Chinchilla <christopher.ward@supabase.io>

* Update Angular tutorial for Angular 20

* Update Angular doc

* Revert "Add Chris Ward to humans"

This reverts commit c45ea9d213cc311a6b3bb8572257b95d3d8e6cc0.

* Update tsconfig

* Add note about CLI defaults

* Prettier fix

---------

Signed-off-by: Chris Chinchilla <christopher.ward@supabase.io>
Co-authored-by: Chris Chinchilla <christopher.ward@supabase.io>
2025-07-28 16:27:50 +02:00
Abhinanda_Shetty
39c921018c Fix Issue #26280 "User Management App" Docs - safeGetSession typescript error (#37012)
fix SvelteKit "User Management App" Docs - safeGetSession typescript error
2025-07-14 15:11:05 +00:00
Beng Eu
6504a8460f chore: enable prettier cache, speeds up subsequent runs ~6.5x (#37005) 2025-07-10 20:32:12 +08:00
Lakshan Perera
3c390c7891 chore: Use npm specifier instead of jsr for supabase-js imports (#36291)
chore: update examples to use npm specifier instead of jsr
2025-06-09 22:36:48 -04:00
Kanugula Shivashanker
0f4db5eed9 improve image search README with setup and usage examples (#36228)
improve image search README with setup and usage examples

Enhanced the AI image search example README with comprehensive documentation improvements.

## What
- Added Prerequisites section with system requirements
- Enhanced Setup section with step-by-step Supabase configuration  
- Added "What to expect" sections for better user guidance
- Included example search queries for testing
- Added troubleshooting section for common issues
- Explained how the CLIP model works in simple terms

## Why
The previous README was missing crucial setup steps, prerequisites, and expected outputs, making it difficult for developers to use this AI example effectively.

## How
- Maintained original formatting style and structure
- Added missing prerequisite information
- Provided clear step-by-step instructions
- Included practical examples and troubleshooting tips
2025-06-06 17:10:21 +00:00
Tyler
8d339f77f0 examples: Add OpenAI image gen API example (#35840) 2025-05-22 12:50:26 +00:00
Charis
02aea98053 docs(third-party auth,clerk): correct examples (#35412)
Correct the code examples for the Clerk third-party auth docs:
- Fix TypeScript error
- Change RLS policy check to accept both [Clerk v1 and v2
JWTs](https://clerk.com/docs/backend-requests/resources/session-tokens)

Pulled code samples from an example app that I've checked in to make
maintenance and testing easier in the future.
2025-05-02 11:13:19 -04:00
Peter
1e28f4e9f0 Update dotenvx in example commands to be the correct package name (#35292) 2025-04-28 10:05:22 +02:00
Peter
6a812a04b6 Update docs for new connection strings and disk/compute pages in the dashboard (#35128)
* Update all docs that make references to the database settings to find the connection strings.

Update all docs that references the database settings for the compute and disk page

* run prettier

* run pnpm format instead of prettier directly.

* first run through, fix grammar and reword awkward sentences

* Fix typos and remove unnecessary whitespace

* Apply suggestions from code review

Co-authored-by: Tyler <dshukertjr@gmail.com>

---------

Co-authored-by: Tyler <dshukertjr@gmail.com>
2025-04-21 08:59:43 -05:00
Tyler
e3b03513e9 examples: Updates example rules to match the latest format of Cursor rules and add declarative schema example (#34992)
* remove glob from all examples

* Add declarative schema instructions

* run prettier

* update file extension for declarative-database-schema rule

* update the example prompts in the examples folder
2025-04-16 01:02:10 +09:00
Clarence
3b1f4b00a1 chore: fixed typo in elevenlabs text to speech (#34418) 2025-03-26 10:28:25 +00:00
Kamil Ogórek
315a189577 feat: Add created_by and app_id to approved oauth apps table (#34045)
* feat: Add created_by to approved apps table

* feat: Add app_id to approved apps table
2025-03-14 10:43:28 +01:00
Oscar
45e7c5d1db docs: fix incorrect filename in nextjs auth example README (#33939)
The README refers to `.env.local.example` instead `.env.example`.
This commit updates the README with the correct filename.
2025-03-10 08:44:49 +00:00
Thor 雷神 Schaeff
99f1d1fc16 Thor/add elevenlabs streaming example n docs (#33989)
* feat: add TTS & STT docs.

* feat: add examples.

* fix: docs.

* code review nits.

* chore: format.

* Fix mdx-lint errors.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-03-07 09:08:56 +01:00
Eric Kharitonashvili
00dfbdca0a Fix Wasm Edge Function Docs (#33910)
* fixed docs bug: when importing wasm, you need to include the js and use this. Otherwise, there will be wasm instantiate errors

* Update wasm.mdx

Got rid of filename on top of markdown

* Update index.ts

got rid of filename comment at the top
2025-02-28 10:43:58 -05:00
Rodrigo Mansueli
aea6ad069b chore: update stripe webhook example (#33774)
* Chore: Update stripe-webhooks.mdx

* Update index.ts
2025-02-21 15:30:13 -03:00
Tyler
266b245ff9 docs: Update example prompt for implementing SSR on Next.js (#33417)
Update example prompt for implementing SSR on Next.js
2025-02-09 09:23:29 +09:00
Tyler
b3cbbc7353 docs: Fix AI prompts page title and menu item title. (#33341)
* remove displaying heading for the AI prompts

* remove the prompt note for test

* revert the change for not displaying the heading for the menu

* Add back the title for each prompt

* allow putting frontmatter before heading

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-02-06 09:14:01 +09:00
Tyler
806a8227b9 docs: Update the prompt examples to make it more Cursor friendly (#33315)
* Update the instruction to add to project

* bringing Cursor at the front, because that is the most popular one of all

* Add sample description and globs for all sample prompt within the docs

* remove the cursor rule I created by mistake

* fix typo
2025-02-05 10:16:25 +09:00
Lakshan Perera
b0100265e1 chore: add more rules to Edge Functions AI prompt (#33284)
chore: add more rules to edge functions AI prompt
2025-02-03 17:24:03 -05:00
Lakshan Perera
010243ed1b fix: typo in edge functions prompt (#33280) 2025-02-03 20:39:02 +00:00
Aleksi Immonen
e58e99aca7 Typo fix in edge-functions.md (#33266)
Update edge-functions.md
2025-02-04 02:46:57 +11:00
Lakshan Perera
b6aa2af832 chore: add prompts for Edge Functions (#33264) 2025-02-03 12:15:50 +01:00
Andrew Valleteau
7ce0038156 chore(docs): add dotenvx example (#31213)
* wip

* wip

* wip

* remove seeds

* wip

* add branching memento

* remove triple dots

* proofread

* chore: mention direct secret usage

* chore: update README.md

* chore: update docs

* fix: .env.local to .env.developemnt

* chore: fix typo

* chore: fix commands

* chore: update README.md

* chore: apply PR comments

* chore: rename .env.local to .env

* chore: simplify dotenvx setup (#32824)

* chore: bump cli

* chore: disable unused seed

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
Co-authored-by: Qiao Han <qiao@supabase.io>
2025-01-17 14:33:15 +08:00
Lakshan Perera
e63a082dda chore(docs): Added a guide on using wasm modules in Edge Functions (#32811)
* chore(docs): Added a guide on using wasm modules in Edge Functions

* update example

* WASM -> Wasm

* fix page title
2025-01-16 09:55:31 +11:00
Lakshan Perera
cdb95a6036 chore: add an example for using wasm modules in Edge Functions (#32810)
Co-authored-by: Rodrigo Mansueli <rodrigo@mansueli.com>
2025-01-15 19:37:21 +00:00
Thor 雷神 Schaeff
d93c09b03a Thor/fix hono example (#32736)
* fix: hono example.

* fix: hono quickstart.

* chore: update numbered list.
2025-01-14 11:50:06 +09:00
Thor 雷神 Schaeff
8e67d1e0a7 feat: add Hono example and guide. (#32614) 2025-01-07 20:22:48 +08:00
Greg Richardson
da52ba3245 More AI prompts (#31252)
* feat: more database prompts

* fix: title casing
2024-12-19 12:19:19 -07:00
Han Qiao
7d74d69697 chore: update readme for employees example (#30964)
* chore: update readme for employees example

* chore: update readme title

* chore: wrap code example in admonition

* chore: revamp schema diff guide
2024-12-06 18:23:07 +08:00
abdellah hariti
7cdbbdaf72 await createClient() promise in AuthButton.tsx (#30909) 2024-12-05 19:09:41 +00:00
Han Qiao
67e12df620 docs: improve database migrations guide (#30914) 2024-12-05 23:43:43 +08:00
Andrew Valleteau
5f0a8ef618 chore(docs): update nextjs slack clone (#30894)
* chore(docs): wip update nextjs slack

* chore: polish configtoml

* chore: add next.config.js

* chore: setup for valid nextjs deploy
2024-12-05 21:36:13 +08:00
Andrew Valleteau
9524eff4f8 chore(docs): update user management next docs (#30849)
* chore(docs): update user-management config toml
2024-12-04 13:16:10 +00:00
Han Qiao
7f099d0e4c chore: simplify config for realtime example (#30889) 2024-12-04 21:08:41 +08:00
Han Qiao
0c8a498913 chore: simplify config for enterprise patterns (#30887) 2024-12-04 18:05:26 +08:00
Andrew Valleteau
d265797541 chore: update nextjs-todo-list guide and config.toml (#30716)
* chore: update nextjs-todo-list guide and config.toml

* fix: use commented vercel urls

* Update examples/todo-list/nextjs-todo-list/supabase/config.toml

Co-authored-by: Han Qiao <sweatybridge@gmail.com>

* Update examples/todo-list/nextjs-todo-list/supabase/config.toml

Co-authored-by: Han Qiao <sweatybridge@gmail.com>

* chore(docs): remove local development guide

* chore(docs): document dotenv usage syntax

* chore: complete auth config example

* chore: update config comments

* chore: disable seeding via config

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
Co-authored-by: Qiao Han <qiao@supabase.io>
2024-12-04 08:59:22 +00:00