Supabase pour MVP: rapidité sans compromis
Supabase permet d’aller très vite tout en gardant des bases saines.
Stack type
- Auth + Row Level Security
- Postgres + Prisma/Drizzle
- Storage + CDN
- Edge Functions pour webhooks/traitements
Schéma minimal multi‑locataires
sql
-- Exemple: scoping par organisation
create table org (
id uuid primary key default gen_random_uuid(),
name text not null
);
create table project (
id uuid primary key default gen_random_uuid(),
org_id uuid references org(id) on delete cascade,
name text not null
);RLS indispensables
- Politique par org_id
- Tests d’accès automatisés
Coûts et limites
- Parfait pour MVP/PMF
- Migration possible vers infra dédiée si besoin

