E
Easypeasy Feaso
AI Engine
Live & ready

Built-in AI active. Add an API key in Settings for enhanced live AI.

Globalcsm Pty Ltd
ABN 14 127 573 219
Sydney, NSW

# Deploy your app to the internet

Switch from localStorage-only demo mode to real cloud auth, multi-device sync, and team workspaces. Takes ~15 minutes. No coding required.

🗄️ Supabase guide🚀 Vercel guide📋 Print checklist📖 Full guide
⚠️ Currently in demo mode — accounts are local only

## How it works (the simple version)

🗄️
1. Create a database

Free Supabase account. Stores user accounts and projects.

📋
2. Copy 3 secret codes

From Supabase → paste into Vercel. That's the only technical bit.

🚀
3. Click Deploy

Vercel hosts your site. Live on the internet in 2 minutes.

Supabase URL
not configured
Mode
Demo (localStorage)
Signed in as
not signed in
Step 1

### Create a Supabase project

Free tier is enough for up to 10,000 users

1. Go to app.supabase.com
   and sign up (free)
2. Click New Project
3. Choose name (e.g. `easypeasy-feaso-prod`), set a strong database password, and pick region `Sydney (ap-southeast-2)` for AU users
4. Wait ~1-2 minutes for provisioning

Step 2

### Copy your API keys

You need 3 keys from Project Settings → API

1. In your Supabase project, click Settings (gear icon) → API
2. Copy these three values:
   - Project URL (e.g. `https://abc123.supabase.co`)
   - anon public key (long `eyJ...` string)
   - service_role key (click "Reveal" first) — server-side only, never commit to git

Security: the service_role key bypasses RLS. Never expose it to the browser or commit it to git.
Step 3

### Set environment variables

Add the keys to your deployment

For Vercel:

    # In your terminal:
    vercel env add NEXT_PUBLIC_SUPABASE_URL
    vercel env add NEXT_PUBLIC_SUPABASE_ANON_KEY
    vercel env add SUPABASE_SERVICE_ROLE_KEY
    # Then redeploy: vercel --prod

For local dev:

    cp .env.example .env.local
    # Edit .env.local with your real values
    npm run dev

Step 4

### Apply database schema

Creates 8 tables, RLS policies, triggers, and RPCs

Pick the easiest method:

Option A: Supabase Studio (easiest)

1. Go to SQL Editor in your Supabase dashboard
2. Click New query
3. Copy-paste the entire contents of `supabase/schema.sql`
4. Click Run

Option B: CLI

    ./scripts/migrate-supabase.sh

Step 5

### Configure authentication

Enable OAuth providers and set redirect URLs

In Supabase Studio → Authentication → URL Configuration:

- Site URL: `https://your-domain.com`
- Redirect URLs: Add your production + localhost URLs

Optional — enable OAuth in Authentication → Providers:

Google
GitHub
Step 6

### Test the connection

Verify everything works end-to-end

Or run the CLI check: `node scripts/check-supabase.mjs`

### All set?

Once all steps are done, your users can sign up, sign in, and sync projects to the cloud.

Print checklist
Try signing up
Operated by Globalcsm Pty Ltd · ABN 14 127 573 219 · Sydney, NSW