Skip to content

Commit

Permalink
chore: update app.supabase.io links to app.supabase.com
Browse files Browse the repository at this point in the history
MildTomato committed May 30, 2022
1 parent 6b055c2 commit 5a38bd3
Showing 141 changed files with 575 additions and 842 deletions.
8 changes: 3 additions & 5 deletions DEVELOPERS.md
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ To build Supabase, you clone the source code repository:

### Choosing Directory

Before you start a development server, you must choose if you want to work on the [Supabase Website](https://supabase.com), [Supabase Docs](https://supabase.com/docs), or [Supabase Studio](https://app.supabase.io).
Before you start a development server, you must choose if you want to work on the [Supabase Website](https://supabase.com), [Supabase Docs](https://supabase.com/docs), or [Supabase Studio](https://app.supabase.com).

1. Go to the [Supabase Website](https://supabase.com) directory

@@ -70,7 +70,7 @@ Before you start a development server, you must choose if you want to work on th
cd web
```

Go to the [Supabase Studio](https://app.supabase.io) directory
Go to the [Supabase Studio](https://app.supabase.com) directory

```sh
cd studio
@@ -186,14 +186,14 @@ Then edit and visit any of the following sites:
- `/apps/temp-community-tutorials`: http://localhost:3003
- pulls all our DEV articles (which community members can write) into a nextjs site. Temporary/POC


### Shared components

The monorepo has a set of shared components under `/packages`:

- `/packages/common`: Common React code, shared between all sites.
- `/packages/config`: All shared config
- `/packages/tsconfig`: Shared Typescript settings

### Installing packages

Installing a package with NPM workspaces requires you to add the `-w` flag to tell NPM which workspace you want to install into.
@@ -211,8 +211,6 @@ You do not need to install `devDependencies` in each workspace. These can all be

`npm run dev`



## Finally

After making your changes to the file(s) you'd like to update, it's time to open a pull request. Once you submit your pull request, others from the Supabase team/community will review it with you.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ To see how to Contribute, visit [Getting Started](./DEVELOPERS.md)
## Status

- [x] Alpha: We are testing Supabase with a closed set of customers
- [x] Public Alpha: Anyone can sign up over at [app.supabase.io](https://app.supabase.io). But go easy on us, there are a few kinks
- [x] Public Alpha: Anyone can sign up over at [app.supabase.com](https://app.supabase.com). But go easy on us, there are a few kinks
- [x] Public Beta: Stable enough for most non-enterprise use-cases
- [ ] Public: Production-ready

@@ -55,7 +55,7 @@ Supabase is a combination of open source tools. We’re building the features of

**Architecture**

Supabase is a [hosted platform](https://app.supabase.io). You can sign up and start using Supabase without installing anything.
Supabase is a [hosted platform](https://app.supabase.com). You can sign up and start using Supabase without installing anything.
You can also [self-host](https://supabase.com/docs/guides/hosting/overview) and [develop locally](https://supabase.com/docs/guides/local-development).

![Architecture](https://supabase.com/docs/assets/images/supabase-architecture-9050a7317e9ec7efb7807f5194122e48.png)
2 changes: 1 addition & 1 deletion apps/temp-docs/components/nav/NavBar.tsx
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ const NavBar = ({ currentPage }: { currentPage: string }) => {
</li>
))}
<li>
<Link href="https://app.supabase.io">
<Link href="https://app.supabase.com">
<a className={`text-scale-1100 text-sm`}>Login</a>
</Link>
</li>
2 changes: 1 addition & 1 deletion apps/temp-docs/data/footer.json
Original file line number Diff line number Diff line change
@@ -79,7 +79,7 @@
"links": [
{
"text": "Join our beta",
"url": "https://app.supabase.io/"
"url": "https://app.supabase.com/"
}
]
}
35 changes: 7 additions & 28 deletions apps/temp-docs/docs/dart/auth-signin.mdx
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
---
id: auth-signin
title: "auth.signIn()"
title: 'auth.signIn()'
slug: auth-signin
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/dart.yml
---

import Tabs from '@theme/Tabs';
import TabsPanel from '@theme/TabsPanel';
import Tabs from '@theme/Tabs'
import TabsPanel from '@theme/TabsPanel'

Log in an existing user, or login via a third-party provider.


<Tabs
defaultActiveId="dart"
groupId="reference/dart"
@@ -25,38 +24,22 @@ final user = res.data?.user;
final error = res.error;
```


</TabsPanel>

</Tabs>





## Notes

- A user can sign up via email, phone number.
- If you provide `email` without a `password`, the user will be sent a magic link.
- The magic link's destination URL is determined by the SITE_URL config variable. To change this, you can go to Authentication -> Settings on [app.supabase.io](https://app.supabase.io)
- Similarly, if you provide `phone` without a `password`, the user will be sent a one time password.
- The magic link's destination URL is determined by the SITE_URL config variable. To change this, you can go to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)
- Similarly, if you provide `phone` without a `password`, the user will be sent a one time password.
- If you are looking to sign users in with OAuth in Flutter apps, go to [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider).










## Examples

### Sign in with email.



<Tabs
defaultActiveId="dart"
groupId="reference/dart"
@@ -71,7 +54,6 @@ final user = res.data?.user;
final error = res.error;
```


</TabsPanel>

</Tabs>
@@ -93,17 +75,15 @@ final res = await supabase.auth.signIn(email: 'example@email.com');
final error = res.error;
```


</TabsPanel>

</Tabs>

### Get OAuth sign in URL.

Passing provider parameter to `signIn()` will return a URL to sign your user in via OAuth.
Passing provider parameter to `signIn()` will return a URL to sign your user in via OAuth.
If you are looking to sign in a user via OAuth on Flutter app, go to [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider).


<Tabs
defaultActiveId="dart"
groupId="reference/dart"
@@ -118,7 +98,6 @@ final url = res.data?.url;
final error = res.error;
```


</TabsPanel>

</Tabs>
</Tabs>
30 changes: 6 additions & 24 deletions apps/temp-docs/docs/dart/auth-signup.mdx
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
---
id: auth-signup
title: "auth.signUp()"
title: 'auth.signUp()'
slug: auth-signup
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/dart.yml
---

import Tabs from '@theme/Tabs';
import TabsPanel from '@theme/TabsPanel';
import Tabs from '@theme/Tabs'
import TabsPanel from '@theme/TabsPanel'

Creates a new user.


<Tabs
defaultActiveId="dart"
groupId="reference/dart"
@@ -25,37 +24,21 @@ final user = res.data?.user;
final error = res.error;
```


</TabsPanel>

</Tabs>





## Notes

- By default, the user will need to verify their email address before logging in. If you would like to change this, you can disable "Email Confirmations" by going to Authentication -> Settings on [app.supabase.io](https://app.supabase.io)
- By default, the user will need to verify their email address before logging in. If you would like to change this, you can disable "Email Confirmations" by going to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)
- If "Email Confirmations" is turned on, a `user` is returned but `session` will be null
- If "Email Confirmations" is turned off, both a `user` and a `session` will be returned
- When the user confirms their email address, they will be redirected to localhost:3000 by default. To change this, you can go to Authentication -> Settings on [app.supabase.io](https://app.supabase.io)









- When the user confirms their email address, they will be redirected to localhost:3000 by default. To change this, you can go to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)

## Examples

### Sign up.



<Tabs
defaultActiveId="dart"
groupId="reference/dart"
@@ -70,11 +53,10 @@ final user = res.data?.user;
final error = res.error;
```


</TabsPanel>

</Tabs>

### Sign up with third-party providers.

If you are using Flutter, you can sign up with OAuth providers using the [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider) method available on `supabase_flutter`.
If you are using Flutter, you can sign up with OAuth providers using the [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider) method available on `supabase_flutter`.
30 changes: 6 additions & 24 deletions apps/temp-docs/docs/dart/storage-from-getpublicurl.mdx
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
---
id: storage-from-getpublicurl
title: "from.getPublicUrl()"
title: 'from.getPublicUrl()'
slug: storage-from-getpublicurl
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/dart.yml
---

import Tabs from '@theme/Tabs';
import TabsPanel from '@theme/TabsPanel';
import Tabs from '@theme/Tabs'
import TabsPanel from '@theme/TabsPanel'

Retrieve URLs for assets in public buckets


<Tabs
defaultActiveId="dart"
groupId="reference/dart"
@@ -27,37 +26,21 @@ final res = supabase
final publicURL = res.data;
```


</TabsPanel>

</Tabs>





## Notes

- The bucket needs to be set to public, either via [updateBucket()](/docs/reference/javascript/storage-updatebucket) or by going to Storage on [app.supabase.io](https://app.supabase.io), clicking the overflow menu on a bucket and choosing "Make public"
- The bucket needs to be set to public, either via [updateBucket()](/docs/reference/javascript/storage-updatebucket) or by going to Storage on [app.supabase.com](https://app.supabase.com), clicking the overflow menu on a bucket and choosing "Make public"
- Policy permissions required:
- `buckets` permissions: none
- `buckets` permissions: none
- `objects` permissions: none










## Examples

### Returns the URL for an asset in a public bucket



<Tabs
defaultActiveId="dart"
groupId="reference/dart"
@@ -74,7 +57,6 @@ final res = supabase
final publicURL = res.data;
```


</TabsPanel>

</Tabs>
</Tabs>
18 changes: 12 additions & 6 deletions apps/temp-docs/docs/guides/auth.mdx
Original file line number Diff line number Diff line change
@@ -5,7 +5,15 @@ description: 'Supabase auth'

# Auth

<iframe width="560" height="315" src="https://www.youtube.com/embed/6ow_jW4epf8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/6ow_jW4epf8"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>

## User Management

@@ -57,6 +65,7 @@ let { data, error } = await supabase
// console.log(data)
// => { id: 'd0714948', name: 'Jane' }
```

... you can simply define a rule on your database table, `auth.uid() = user_id`, and your request will return the rows which pass the rule, even when you remove the filter from your middleware:

```Javascript
@@ -68,7 +77,6 @@ let user = await supabase.from('users').select('user_id, name')

## How It Works


1. A user signs up. Supabase creates a new user in the `auth.users` table.
2. Supabase returns a new JWT, which contains the user's `UUID`.
3. Every request to your database also sends the JWT.
@@ -105,8 +113,6 @@ alter publication supabase_realtime add table posts;
```

## Next Steps
- Read more about Auth in the [Guides](https://supabase.com/docs/guides/auth/intro).
- Sign in: [app.supabase.io](https://app.supabase.io/)



- Read more about Auth in the [Guides](https://supabase.com/docs/guides/auth/intro).
- Sign in: [app.supabase.com](https://app.supabase.com/)
4 changes: 2 additions & 2 deletions apps/temp-docs/docs/guides/auth/auth-email.mdx
Original file line number Diff line number Diff line change
@@ -11,12 +11,12 @@ import TabsPanel from '@theme/TabsPanel'

Setting up Email logins for your Supabase application.

- Add Email authenticator to your [Supabase Project](https://app.supabase.io)
- Add Email authenticator to your [Supabase Project](https://app.supabase.com)
- Add the login code to your application - [Javascript](https://github.com/supabase/supabase-js) | [Dart](https://github.com/supabase/supabase-dart)

## Add Email into your Supabase Project

- Go to your [Supabase Project Dashboard](https://app.supabase.io)
- Go to your [Supabase Project Dashboard](https://app.supabase.com)
- In the left sidebar, click the `Authentication` icon (near the top)
- Click `Settings` from the list to go to the `Authentication Settings` page
- Enter the final (hosted) URL of your app under `Site URL` (this is important)
4 changes: 2 additions & 2 deletions apps/temp-docs/docs/guides/auth/auth-magic-link.mdx
Original file line number Diff line number Diff line change
@@ -13,12 +13,12 @@ By default, if no password is provided, the user will be sent a "magic link" to

Setting up Magic Link logins for your Supabase application.

- Add Magic Link authenticator to your [Supabase Project](https://app.supabase.io)
- Add Magic Link authenticator to your [Supabase Project](https://app.supabase.com)
- Add the login code to your application - [Javascript](https://github.com/supabase/supabase-js) | [Dart](https://github.com/supabase/supabase-dart)

## Add Magic Link into your Supabase Project

- Go to your [Supabase Project Dashboard](https://app.supabase.io)
- Go to your [Supabase Project Dashboard](https://app.supabase.com)
- In the left sidebar, click the `Authentication` icon (near the top)
- Click `Settings` from the list to go to the `Authentication Settings` page
- Enter the final (hosted) URL of your app under `Site URL` (this is important)
Loading

0 comments on commit 5a38bd3

Please sign in to comment.