Go to supabase.com → sign up free → create a new project.
2
Run this SQL in the SQL Editor
create table if not exists income_expenses (
id bigint primary key, type text, cur text,
amount numeric, descr text, cat text, date text,
created_at timestamptz default now()
);
create table if not exists deliveries (
id bigint primary key, name text, ordr text,
date text, status text, notes text,
created_at timestamptz default now()
);
create table if not exists satisfaction (
id bigint primary key, name text, date text,
rating int, notes text,
created_at timestamptz default now()
);
create table if not exists orders (
id bigint primary key, client_name text, book_title text,
level text, period text, order_date text,
deadline text, target_date text, notes text, status text default 'pending',
renewal_count int default 0, last_renewed text,
created_at timestamptz default now()
);
create table if not exists order_tasks (
id bigint primary key, order_id bigint, task text,
assigned_to text, status text default 'pending',
created_at timestamptz default now()
);
alter table income_expenses enable row level security;
alter table deliveries enable row level security;
alter table satisfaction enable row level security;
alter table orders enable row level security;
alter table order_tasks enable row level security;
drop policy if exists "open" on income_expenses;
drop policy if exists "open" on deliveries;
drop policy if exists "open" on satisfaction;
drop policy if exists "open_orders" on orders;
drop policy if exists "open_tasks" on order_tasks;
create policy "open" on income_expenses for all using (true) with check (true);
create policy "open" on deliveries for all using (true) with check (true);
create policy "open" on satisfaction for all using (true) with check (true);
create policy "open_orders" on orders for all using (true) with check (true);
create policy "open_tasks" on order_tasks for all using (true) with check (true);
create table if not exists subscribers (
id bigint primary key,
client_name text, plan text, status text,
start_date text, notes text,
created_at timestamptz default now()
);
alter table subscribers enable row level security;
drop policy if exists "open_subs" on subscribers;
create policy "open_subs" on subscribers for all using (true) with check (true);
create table if not exists service_levels (
id text primary key, name text, short text,
weeks int, target_days int, color text,
price text, tasks jsonb, tasks_ext jsonb,
sort_order int default 0,
created_at timestamptz default now()
);
alter table service_levels enable row level security;
drop policy if exists "open_levels" on service_levels;
create policy "open_levels" on service_levels for all using (true) with check (true);
3
Paste your credentials
Project Settings → API → copy Project URL and anon public key.
Share the same URL and key with your partner — you both connect to the same live data.