Goto https://app.supabase.io/ and create new project.
Copy a server's instance ID from the server URL. Also, you will need postgresql password for the following steps.
https://[YOUR_INSTANCE].supabase.co/
Run ALTER ROLE postgres SUPERUSER;
in the project's SQL editor
You need to set remote supabase DB URL and password with supabase CLI. Run below command in your Terminal.
The password should be percent-encoded
.
supabase db remote set 'postgresql://postgres:[YOUR-PASSWORD]@db.[YOUR_INSTANCE].supabase.co:5432/postgres'
supabase db push
supabase db remote commit
Run ALTER ROLE postgres NOSUPERUSER;
in the project's SQL editor
Third party authentication is not supported on the local environment. You need to use an app.supabase.io for testing Auth functions.
supabase db reset
supabase db commit <migration name>
This command will carete migration sql under supabase/migrations/
supabase db push