What is better-auth built with?
better-auth is a TypeScript repo built with Vue, Next.js, React, SvelteKit, Solid, and 4 more. It stores its data in Postgres and MySQL, reaches it with kysely and Drizzle, signs people in with Better Auth, jose, simplewebauthn, and samlify, makes its content with fast-xml-parser and @xmldom/xmldom, validates its data with Zod and @standard-schema/spec, is tested with Vitest, msw, happy-dom, and memfs, deploys with opentelemetry, and uses MongoDB, Expo, and Redis. It has 509,228 written lines, with 565 test files.
Read on November 7, 2026, at commit ba59f5d. Read it as markdown
The card says what it's built with. Its whole map opens it up: every part of the code and how it connects to the rest.
Frontend
Backend
Sign-in 4
- Better Auth38 files
simplewebauthn4 files
samlify3 files
- jose42 files
Data 5
- Postgres4 files · packages/cli/test/__snapshots__/schema-numberid.prisma, line 7
- MongoDB2 files · packages/mongo-adapter/src/mongodb-adapter.ts, line 12
- MySQL2 files · packages/cli/test/__snapshots__/schema-mysql-custom.prisma, line 7
- Expo1 file
- Redis1 file · packages/redis-storage/src/redis-storage.ts, line 2
The base 1
- Express1 file
Other repos with a similar stack
Ordered by how much of its stack they share with better-auth, then by stars.
- reactive-resumereactive-resume45.7k
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
10 of 61 in commonCompare → - thedotmackclaude-mem116.3k
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
9 of 61 in commonCompare →
Frequently asked questions
What language is better-auth written in?
What framework does better-auth use?
What database does better-auth use?
The proof: packages/cli/test/__snapshots__/schema-numberid.prisma, line 7
What does better-auth sign people in with?
What services does better-auth use?
The proof: packages/mongo-adapter/src/mongodb-adapter.ts, line 12
Does better-auth have tests?
Which repos have a stack like better-auth's?
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.
Is it your repo? Add its badge, keep it up to date or take it down →

