Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 852 Bytes

File metadata and controls

35 lines (28 loc) · 852 Bytes

Supabase Setup

1. Create project

  1. Create a Supabase project at https://supabase.com.
  2. In Project Settings -> API, copy:
    • Project URL
    • anon public key

2. Configure env

  1. Copy .env.example to .env.
  2. Set:
    • EXPO_PUBLIC_SUPABASE_URL
    • EXPO_PUBLIC_SUPABASE_ANON_KEY

3. Create database tables and policies

  1. Open Supabase SQL Editor.
  2. Run supabase/schema.sql.

4. Auth settings

  1. In Authentication -> Providers, keep Email enabled.
  2. Optional for local testing: disable email confirmation.

5. Realtime settings

  1. In Database -> Publications, open supabase_realtime.
  2. Enable these tables:
    • public.queues
    • public.queue_members

6. Run app

npm install
npm run dev

Sign up/login in-app, choose your role (customer or business), and update your profile name/photo.