Skip to content

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

Update remaining files in guides

Joshen Lim65fde5a3aac2
diff --git a/apps/temp-docs/docs/guides/features.mdx b/apps/temp-docs/docs/guides/features.mdx
new file mode 100755
index 00000000000..3267fa32ced
--- /dev/null
+++ b/apps/temp-docs/docs/guides/features.mdx
@@ -0,0 +1,172 @@
+---
+id: features
+title: Features
+description: 'Supabase features'
+---
+
+This is a non-exhaustive list of features that Supabase provides for every project.
+
+## Database
+
+### Postgres Database
+
+Every project is a full Postgres database. [Docs](/docs/guides/database).
+
+### Database Extensions
+
+Every database comes with a full set of Postgres extensions. [Docs](/docs/guides/database/extensions).
+
+### Database Functions
+
+Create custom database functions which you can call from the browser. [Docs](/docs/guides/database/functions).
+
+### Database Triggers
+
+Attach triggers to your tables to handle database changes. [Docs](/docs/guides/auth/managing-user-data#using-triggers).
+
+### Database Webhooks
+
+Send database changes to any external service using Webhooks. [Link](https://supabase.com/blog/supabase-functions-updates#database-webhooks-alpha).
+
+### Database Backups
+
+Projects are backed up daily with the option to upgrade to Point in Time recovery.
+
+### Search
+
+Build search functionality using Postgres Full Text Search. [Docs](/docs/guides/database/full-text-search).
+
+### Secrets and encryption
+
+Encrypt sensitive data and store secrets using our Postgres extension, Supabase Vault. [Link](https://supabase.com/blog/supabase-vault).
+
+### Database migrations
+
+Develop locally and push your changes to your production database using migrations. [Docs](/docs/guides/cli/local-development#database-migrations)
+
+<br />
+
+## Auth
+
+### Email & Password Logins
+
+Build email logins for your application or website. [Docs](/docs/guides/auth/auth-email).
+
+### Magic Links
+
+Build passwordless logins for your application or website.[Docs](/docs/guides/auth/auth-magic-link).
+
+### Social Logins
+
+Provide social logins - everything from Apple, to GitHub, to Slack. [Docs](/docs/guides/auth/auth-apple).
+
+### Phone Logins
+
+Provide phone logins using a 3rd-party SMS provider. [Docs](/docs/guides/auth/auth-twilio).
+
+### Row Level Security
+
+Control the data each user can access with Postgres Policies. [Docs](/docs/guides/auth/row-level-security).
+
+### Serverside Auth Helpers
+
+Helpers for implementing user authentication in popular frameworks like [Next.js](/docs/guides/auth/auth-helpers/nextjs) and [SvelteKit](/docs/guides/auth/auth-helpers/sveltekit)
+
+### Auth UI Kit
+
+Build login and registration pages with custom themes. [Docs](/docs/guides/auth/auth-helpers/auth-ui).
+
+<br />
+
+## APIs & Client libraries
+
+### Auto-generated REST API
+
+RESTful APIs are autogenerated from your database, without a single line of code. [Docs](/docs/guides/api#rest-api-overview).
+
+### Auto-generated GraphQL API
+
+Fast GraphQL APIs using our custom Postgres GraphQL extension. [Docs](/docs/guides/api#graphql-api-overview).
+
+### Realtime Database changes
+
+Receive your database changes through websockets. [Docs](/docs/guides/realtime/postgres-cdc).
+
+### User Broadcasting
+
+Send messages between connected users through websockets. [Docs](/docs/guides/realtime#broadcast).
+
+### User Presence
+
+Synchronize shared state across your users, including online status and typing indicators. [Docs](/docs/guides/realtime#presence).
+
+### Client libraries
+
+Official client libraries for [JavaScript](/docs/reference/javascript/) and [Dart](/docs/reference/dart).
+Unofficial libraries [supported by the community](https://github.com/supabase-community#client-libraries).
+
+<br />
+
+## File Storage
+
+### Large File storage
+
+Supabase Storage makes it simple to store and serve large files. [Docs](/docs/guides/storage).
+
+### Storage CDN
+
+Cache large files using the Supabase CDN. [Docs](/docs/guides/storage-cdn).
+
+<br />
+
+## Edge Functions
+
+### Deno Edge Functions
+
+Globally distributed TypeScript functions to execute custom business logic. [Docs](/docs/guides/functions).
+
+<br />
+
+## Project Management
+
+### CLI
+
+Use our CLI to develop your project locally and deploy to the Supabase Platform. [Docs](/docs/reference/cli).
+
+### Management API
+
+Manage your projects programmatically. [Docs](/docs/reference/api).
+
+<br />
+
+## Feature Status
+
+Both Postgres and the Supabase Platform are production-ready. Some tools we offer on top of Postgres are still under development.
+
+| Product | Feature | Stage |
+| -------------------------- | ---------------------- | ------- |
+| Database | Postgres | `GA` |
+| Database | Triggers | `GA` |
+| Database | Functions | `GA` |
+| Database | Extensions | `GA` |
+| Database | Full Text Search | `GA` |
+| Database | Webhooks | `alpha` |
+| Database | Point-in-Time Recovery | `alpha` |
+| Database | Vault | `alpha` |
+| Studio | | `GA` |
+| Realtime | Postgres CDC | `GA` |
+| Realtime | Broadcast | `beta` |
+| Realtime | Presence | `beta` |
+| Storage | Backend (S3) | `GA` |
+| Storage | API | `beta` |
+| Storage | CDN | `beta` |
+| Edge Functions | | `beta` |
+| Auth | OAuth Providers | `beta` |
+| Auth | Passwordless | `beta` |
+| Auth | Next.js Auth Helpers | `alpha` |
+| Auth | SvelteKit Auth Helpers | `alpha` |
+| Auth | Remix Auth Helpers | `alpha` |
+| Management API | | `beta` |
+| CLI | | `beta` |
+| Client Library: JavaScript | | `GA` |
+| Client Library: Dart | | `beta` |
diff --git a/apps/temp-docs/docs/guides/storage.mdx b/apps/temp-docs/docs/guides/storage.mdx
index 566802059b7..9e262fcb15d 100644
--- a/apps/temp-docs/docs/guides/storage.mdx
+++ b/apps/temp-docs/docs/guides/storage.mdx
@@ -12,7 +12,7 @@ Supabase Storage makes it simple to store and serve large files.
### Files
-Files can be any sort of media file. This includes images, GIFs, and videos. It is best practice to store files outside of your database because of their sizes.
+Files can be any sort of media file. This includes images, GIFs, and videos. It is best practice to store files outside of your database because of their sizes. For security, HTML files are returned as plain text.
### Folders
diff --git a/apps/temp-docs/docs/guides/with-flutter.mdx b/apps/temp-docs/docs/guides/with-flutter.mdx
index a09a5b9f56d..b531e6112e5 100644
--- a/apps/temp-docs/docs/guides/with-flutter.mdx
+++ b/apps/temp-docs/docs/guides/with-flutter.mdx
@@ -171,7 +171,7 @@ class SplashPage extends StatefulWidget {
}
class _SplashPageState extends State<SplashPage> {
- bool _redicrectCalled = false;
+ bool _redirectCalled = false;
@override
void didChangeDependencies() {
super.didChangeDependencies();
@@ -180,11 +180,11 @@ class _SplashPageState extends State<SplashPage> {
Future<void> _redirect() async {
await Future.delayed(Duration.zero);
- if (_redicrectCalled || !mounted) {
+ if (_redirectCalled || !mounted) {
return;
}
- _redicrectCalled = true;
+ _redirectCalled = true;
final session = supabase.auth.currentSession;
if (session != null) {
Navigator.of(context).pushReplacementNamed('/account');
@@ -249,7 +249,7 @@ class _LoginPageState extends State<LoginPage> {
} on AuthException catch (error) {
context.showErrorSnackBar(message: error.message);
} catch (error) {
- context.showErrorSnackBar(message: 'Unexpected error occured');
+ context.showErrorSnackBar(message: 'Unexpected error occurred');
}
setState(() {
@@ -346,7 +346,7 @@ class _AccountPageState extends State<AccountPage> {
} on PostgrestException catch (error) {
context.showErrorSnackBar(message: error.message);
} catch (error) {
- context.showErrorSnackBar(message: 'Unexpected exception occured');
+ context.showErrorSnackBar(message: 'Unexpected exception occurred');
}
setState(() {
@@ -376,7 +376,7 @@ class _AccountPageState extends State<AccountPage> {
} on PostgrestException catch (error) {
context.showErrorSnackBar(message: error.message);
} catch (error) {
- context.showErrorSnackBar(message: 'Unexpeted error occured');
+ context.showErrorSnackBar(message: 'Unexpeted error occurred');
}
setState(() {
_loading = false;
@@ -389,7 +389,7 @@ class _AccountPageState extends State<AccountPage> {
} on AuthException catch (error) {
context.showErrorSnackBar(message: error.message);
} catch (error) {
- context.showErrorSnackBar(message: 'Unexpected error occured');
+ context.showErrorSnackBar(message: 'Unexpected error occurred');
}
if (mounted) {
Navigator.of(context).pushReplacementNamed('/');
@@ -619,7 +619,7 @@ class _AvatarState extends State<Avatar> {
}
} catch (error) {
if (mounted) {
- context.showErrorSnackBar(message: 'Unexpected error occured');
+ context.showErrorSnackBar(message: 'Unexpected error occurred');
}
}
@@ -670,7 +670,7 @@ class _AccountPageState extends State<AccountPage> {
} on PostgrestException catch (error) {
context.showErrorSnackBar(message: error.message);
} catch (error) {
- context.showErrorSnackBar(message: 'Unexpected exception occured');
+ context.showErrorSnackBar(message: 'Unexpected exception occurred');
}
setState(() {
@@ -700,7 +700,7 @@ class _AccountPageState extends State<AccountPage> {
} on PostgrestException catch (error) {
context.showErrorSnackBar(message: error.message);
} catch (error) {
- context.showErrorSnackBar(message: 'Unexpeted error occured');
+ context.showErrorSnackBar(message: 'Unexpeted error occurred');
}
setState(() {
_loading = false;
@@ -713,7 +713,7 @@ class _AccountPageState extends State<AccountPage> {
} on AuthException catch (error) {
context.showErrorSnackBar(message: error.message);
} catch (error) {
- context.showErrorSnackBar(message: 'Unexpected error occured');
+ context.showErrorSnackBar(message: 'Unexpected error occurred');
}
if (mounted) {
Navigator.of(context).pushReplacementNamed('/');
@@ -734,7 +734,7 @@ class _AccountPageState extends State<AccountPage> {
} on PostgrestException catch (error) {
context.showErrorSnackBar(message: error.message);
} catch (error) {
- context.showErrorSnackBar(message: 'Unexpected error has occured');
+ context.showErrorSnackBar(message: 'Unexpected error has occurred');
}
if (!mounted) {
return;
diff --git a/apps/temp-docs/docs/guides/with-nextjs.mdx b/apps/temp-docs/docs/guides/with-nextjs.mdx
index ed9b7d9409a..a479c08b942 100644
--- a/apps/temp-docs/docs/guides/with-nextjs.mdx
+++ b/apps/temp-docs/docs/guides/with-nextjs.mdx
@@ -473,13 +473,12 @@ export default function Account({ session }: { session: Session }) {
Now that we have all the components in place, let's update `pages/index.js`:
```jsx title="pages/index.js"
-import type { NextPage } from 'next'
import { Auth, ThemeSupa } from '@supabase/auth-ui-react'
import { useSession, useSupabaseClient } from '@supabase/auth-helpers-react'
// highlight-next-line
import Account from '../components/Account'
-const Home: NextPage = () => {
+const Home = () => {
const session = useSession()
const supabase = useSupabaseClient()