Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

- Adds a note about ANON Key on Local Development page. - Reorganize notes between Tab Panels on the Local Development page. Reason: the note about the postgres is out of place and I searched about the ANON KEY on local development and didn't find any information anywhere.

Mario2de1f4383b14
diff --git a/apps/docs/docs/guides/cli/local-development.mdx b/apps/docs/docs/guides/cli/local-development.mdx
index 7ff4004a730..55c0462beb5 100644
--- a/apps/docs/docs/guides/cli/local-development.mdx
+++ b/apps/docs/docs/guides/cli/local-development.mdx
@@ -82,6 +82,12 @@ For example:
psql 'postgresql://postgres:postgres@localhost:54322/postgres'
```
+<Admonition type="note">
+
+To access the database from an edge function in your local Supabase setup, replace `localhost` with `host.docker.internal`.
+
+</Admonition>
+
</TabPanel>
<TabPanel id="kong" label="API Gateway">
@@ -104,15 +110,15 @@ http://localhost:54321/storage/v1/ # Storage
http://localhost:54321/auth/v1/ # Auth (GoTrue)
```
-</TabPanel>
-</Tabs>
-
<Admonition type="note">
-To access the database from an edge function in your local Supabase setup, replace `localhost` with `host.docker.internal`.
+`<anon key>` is provided when you run the command `supabase start`.
</Admonition>
+</TabPanel>
+</Tabs>
+
## Database migrations
Database changes are managed through "migrations." Database migrations are a common way of tracking changes to your database over time.