Skip to content

Update README.md #501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 12, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update README.md
  • Loading branch information
Mat4m0 authored May 21, 2025
commit 5ea596d77dd8cd72e5d562bd472e3d1789427057
29 changes: 23 additions & 6 deletions demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,35 @@ Make sure to install the dependencies
pnpm i
```

### Supabase Setup

Create a project on [Supabase](https://supabase.com).

In your Supabase project, make sure to create the `tasks` table with the following fields:

![tasks_table](https://user-images.githubusercontent.com/7290030/159882068-c88b96da-6e2f-4d9b-8523-4a4270b1b05e.png)

You can run the following query to create the `tasks` table in your SQL Editor:

```sql
CREATE TABLE IF NOT EXISTS todos (
id bigint PRIMARY KEY,
created_at timestamptz DEFAULT now(),
title text,
completed boolean DEFAULT false,
"user" uuid
);
```

Go to your supabase project settings, API section and get the project API key and url and fill the `.env` with them:

```
SUPABASE_URL="https://example.supabase.com"
SUPABASE_KEY="<your_key>"
```

### GitHub Oauth Setup

Create a GitHub Oauth Application on https://github.com/settings/applications/new

Grant read access to Email addresses under User Permissions
Expand All @@ -37,12 +60,6 @@ Then, enable the GitHub Oauth Provider in your Supabase project (Authentication

![oauth_github](https://user-images.githubusercontent.com/904724/160397056-53099b19-1673-402d-86a2-4c18618a6ab3.png)

Go to your supabase project settings, API section and get the project API key and url and fill the `.env` with them:

```
SUPABASE_URL="https://example.supabase.com"
SUPABASE_KEY="<your_key>"
```

## Development

Expand Down