Data: Where information is stored and structured.
The data domain covers the databases a product depends on: how information is modelled, stored, queried and kept consistent.
It sits beneath the backend. Customers, orders, bookings, documents and settings all live here.
A well-designed data layer helps keep information consistent and queryable as the product grows. Your business, customer and operational data remains under your control.
PostgreSQL
An open-source relational database.
It is mature and capable, with strong support for structured data and the relationships between records.
Firestore
A managed document database from Google, part of Firebase, with real-time synchronization.
It offers live updates and has no database servers to operate.
Redis
An in-memory data store.
Reading from memory is very fast.
Drizzle ORM
A TypeScript library for defining database structure and writing type-safe queries.
Database structure and queries are checked against the code's types.
Supabase DB
The managed PostgreSQL database at the core of Supabase.
It is standard PostgreSQL with managed hosting.