Data and access
Data and access
Postgres and Drizzle, accounts and keys, the role ladder, organizations and the shared namespace.
Everything that is not git, and the one decision function every request passes through.
The database
packages/db, Drizzle conventions, migrations, and the rules every column follows.
Accounts, sessions and keys
Better Auth, its plugins, and the three ways a caller proves who they are.
The role ladder
One ordering of roles, one decision function, and why an unreadable repository answers 404.
Organizations and names
One namespace for users and organizations, base permissions, teams, transfers and redirects.