- Login to Login - Supabase
- Create a new project and fill the fields
- Go to SQL Editor and select 'User Management Starter' template
- Remove realtime block and storage block of the template
- On profiles table:
- Remove the following columns 'avatar_url' and 'website' and rename 'username' column to 'full_name'
- Remove unique constraint applied on 'username' column
- Run the script and the table 'profiles' will be created
- Sign In on Supabase
- Go to settings option on sidebar
- Select API option on project settings block
- Copy 'anon public' and 'URL'
- Sign In on Supabase
- Go to authentication option on sidebar
- On Email Auth block, disabled
Double confirm email changes
andEnable email confirmations
- Clone this repo to a directory and then run
npm install
- Set-up your environment variables following the
.env.example
file. NOTE: The environment file must be named like:.env
- You can get the
SUPABASE_URL
andANON_KEY
following Supabase - Project API Keys
- Run
npm run dev
to start developing mode