Deployment tab

Supabase database deployment guide.

Follow this checklist to deploy tables, policies, triggers, storage and test data for ConstructManager.

  1. Create a Supabase project

    Open Supabase, choose New project, set a strong database password and select the closest region.

  2. Deploy database schema

    Go to the SQL files tab, open deploy.sql, copy the entire content and run it in Supabase SQL Editor. This creates all tables, security policies, storage rules and triggers.

  3. Enable Email authentication

    Go to Authentication → Providers and enable Email. Add Site URL and Redirect URLs if OAuth is used.

  4. Copy API credentials

    In your Supabase dashboard go to Project Settings → Data API. Copy Project URL and anon public key, then paste them in the ConstructManager settings screen.

    1. Open Project Settings (gear icon in the bottom-left sidebar) → Data API tab.
    2. Project URL — the first field at the top of the page. It is not the browser URL; it looks like:
      https://ejyesfvyhdguhgbuvrzv.supabase.co
      Copy only https://ejyesfvyhdguhgbuvrzv.supabase.co — omit the /rest/v1 suffix, the client adds it automatically.
    3. anon public key — in the Project API keys section, the row labelled anon public.
      eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6In...