Set up Supabase
- Create a Supabase account or sign in to your existing one.
- In your Supabase dashboard, go to “Project Settings” then “API Settings”.
- Copy your Supabase URL and Supabase Anon Key.
- Paste these values into your
.envfile.
.env
Authentication & user data
To set up authentication and user data, run the following SQL queries in your Supabase SQL editor. Execute them one after another:URL Configuration
To enable magic link login:- Go to “Authentication” then “URL Configuration”.
- In Site URL paste this url
http://localhost:19006and click “Save”. - Go to “Redirect URLs” section and click on “Add URL”.
- Add this URL
[app.json_scheme_variable]://**
Congrats - user authentication is now set up with Supabase and should be functional!
Other tutorials
Set up development environment
Set up your development environment
Set up One Signal
Set up push notifications with One Signal
Set up Revenue Cat
Set up in-app purchases with Revenue Cat