Back to Decisions
Use Supabase for database and real-time
AcceptedSarah Chen2024-01-10
databaseinfrastructurebackend
Context
Why this decision needed to be made
Need a scalable database solution that supports complex queries, real-time subscriptions for collaborative features, and handles task/project relationships efficiently.
Options Considered
Comparison of available options
| Option | Pros | Cons | Chosen |
|---|---|---|---|
Supabase (PostgreSQL)Selected |
|
| |
PlanetScale (MySQL) |
|
| — |
Self-hosted PostgreSQL |
|
| — |
Outcome
What was decided
Supabase PostgreSQL with real-time subscriptions
Rationale
Why this option was chosen
Best fit for our real-time collaboration requirements. RLS provides security without backend complexity. Team has PostgreSQL expertise. Pro plan ($25/mo) sufficient for MVP.
Linked Requirements
Requirements affected by this decision
Referenced Files
Documents related to this decision