Database
Neon
The interesting property of this combination is how little the database has to hold. Neon stores Better Auth's tables, your product data, and a projection of Polar's grants, and branching lets you rebuild that projection experimentally. Because Polar keeps the authoritative record, a damaged mirror is recoverable by replaying from their API into a fresh branch and promoting it, which is not true of a stack where your own tables are the ledger.