Skip to content

Instantly share code, notes, and snippets.

@jasonho-lynx
Last active October 8, 2021 08:25
Show Gist options
  • Save jasonho-lynx/55e3f38fab09a6b0ba07dc2c2c227cb2 to your computer and use it in GitHub Desktop.
Save jasonho-lynx/55e3f38fab09a6b0ba07dc2c2c227cb2 to your computer and use it in GitHub Desktop.
import { createClient } from '@supabase/supabase-js';
const SUPABASE_URL = YOUR_SUPABASE_URL;
const SUPABASE_PUBLIC = YOUR_SUPABASE_ANON_KEY;
const supabase = createClient(SUPABASE_URL, SUPABASE_PUBLIC);
const doSignUps = async () => {
const signUps = [
supabase.auth.signUp({ email: 'owner@email.com', password: '123456' }),
supabase.auth.signUp({ email: 'editor@email.com', password: '123456' }),
supabase.auth.signUp({ email: 'viewer@email.com', password: '123456' }),
];
await Promise.all(signUps);
};
doSignUps();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment