-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
use Supabase for auth and database 🐘 #424
base: main
Are you sure you want to change the base?
Conversation
@jgoux is attempting to deploy a commit to the Uncurated Tests Team on Vercel. A member of the Team first needs to authorize it. |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/[email protected], npm/[email protected] |
components/login-button.tsx
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This component isn't used anywhere.
Feat/supabase
…bot into feat/supabase
README.md
Outdated
Remember to update your environment variables (`KV_URL`, `KV_REST_API_URL`, `KV_REST_API_TOKEN`, `KV_REST_API_READ_ONLY_TOKEN`) in the `.env` file with the appropriate credentials provided during the KV database setup. | ||
Setup your Supabase project to store your Chat History: | ||
|
||
1. In `/supabase/migrations/20240916140519_init.sql`, you'll find a SQL script to setup your database tables in Supabase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
github page link will be useful here. don't make me look for this file.
README.md
Outdated
Setup your Supabase project to store your Chat History: | ||
|
||
1. In `/supabase/migrations/20240916140519_init.sql`, you'll find a SQL script to setup your database tables in Supabase | ||
2. Copy this script, and visit the [SQL Editor](https://supabase.com/dashboard/project/_/sql/new) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this link might be very confusing coming from Vercel. I will follow these steps shortly and report back.
README.md
Outdated
|
||
1. In `/supabase/migrations/20240916140519_init.sql`, you'll find a SQL script to setup your database tables in Supabase | ||
2. Copy this script, and visit the [SQL Editor](https://supabase.com/dashboard/project/_/sql/new) | ||
3. Paste in the script and hit "RUN". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this step can just be in the 2nd step so it looks easier.
README.md
Outdated
Change the Auth confirmation path in the email confirmation template: | ||
|
||
1. Go to the [Auth templates](https://supabase.com/dashboard/project/_/auth/templates) page in your dashboard. | ||
2. In the `Confirm signup` template, change `{{ .ConfirmationURL }}` to `{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=signup`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what ?!
In this PR, we migrated from Vercel KV and NextAuth to Supabase.
It's still WIP.