Commit Graph
16 Commits
Author SHA1 Message Date
d8bd6b047c docs: Examples Key changes (#45170)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Documentation**
* Updated examples and guides to use Supabase publishable (client) keys
instead of anon keys for client-side usage across frameworks and
platforms.
* Renamed environment variable examples and .env templates to reflect
publishable key naming.
* Adjusted sample requests and client-init examples to send/use the
publishable key via the apikey header where applicable.
* Updated references from service_role to secret for server-side
credential guidance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: fadymak <fady@fadymak.com>
2026-05-04 12:58:16 +02:00
Ivan Vasilov d07e78a616 chore: Run prettier on examples folder (#43851)
This PR runs `prettier` on the `examples` folder.

Depends on https://github.com/supabase/supabase/pull/43849.
2026-03-18 10:51:10 +01:00
Stojan DimitrovskiandChris Chinchilla 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
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
cylussandCharis bfa54a2ca1 docs: Fix incorrect RLS original word in examples (#26937)
Fix incorrect RLS original word

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 01:08:30 +00:00
Charis 5d8cef6040 fix: update all examples and snippets to use select for auth rls func… (#22632)
fix: update all examples and snippets to use select for auth rls functions
2024-04-11 12:56:11 -04:00
thorwebdev 4e040dc2cb feat: update with new vercel deploy integration. 2023-07-12 18:17:29 +08:00
Greg Richardson 26be8af745 chore: change dashboard links to new url 2023-06-22 09:32:18 -06:00
Andrew Smith 87355ed7c4 Add nextjs todo list example 2023-02-22 14:41:36 +00:00
thorwebdev d4ee3473c8 chore: update examples supabase-js v2 2022-10-19 23:18:59 +08:00
dannykng 9370244537 Revert "chore: remove examples"
This reverts commit 05b96de142.
2022-09-16 10:13:18 -07:00
Isaiah Hamilton 05b96de142 chore: remove examples 2022-09-08 22:55:22 -04:00
Ollie Halliday bee9354657 added note about auth logins on the demo 2022-07-05 20:14:38 +01:00
Jonathan Summers-Muir 5a38bd3d51 chore: update app.supabase.io links to app.supabase.com 2022-05-30 14:52:54 +08:00
Copple e053fe7dc4 updates the deploy buttons 2022-04-27 17:28:35 +02:00
Copple 1b1bce93da organises the examples by function 2022-04-27 15:20:41 +02:00