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

The base 4

Interface 2

Backend

Support

Validation 2

Testing 4

  • Vitest354 files
  • msw9 files
  • memfs5 files
  • happy-dom1 file

The base 4

Deploy 1

  • opentelemetry4 files

Tools 11

  • type-fest5 files
  • Cloudflare2 files
  • Prettier2 files
  • Babel1 file
  • TypeScript1 file
  • commander12 files
  • listhen5 files
  • @mrleebo/prisma-ast1 file
  • c121 file
  • get-tsconfig1 file
  • jiti1 file

Content 2

Other 19

  • @better-fetch/fetch73 files
  • Nano Stores23 files
  • chalk10 files
  • OpenTelemetry5 files
  • noble4 files
  • .ENV1 file
  • @noble/hashes1 file
  • expo-constants1 file
  • expo-linking1 file
  • expo-network1 file
  • expo-web-browser1 file
  • SemVer1 file
7 more
  • better-call41 files
  • defu7 files
  • open2 files
  • body-parser1 file
  • botid1 file
  • conf1 file
  • tldts1 file

Other repos with a similar stack

Ordered by how much of its stack they share with better-auth, then by stars.

Frequently asked questions

What language is better-auth written in?
better-auth is written in TypeScript, with 509,228 written lines.
What framework does better-auth use?
better-auth is built with Vue, Next.js, React, SvelteKit, Solid, TanStack, Electron, react-native, and Express.
What database does better-auth use?
better-auth stores its data in Postgres and MySQL and reaches it with kysely and Drizzle.

The proof: packages/cli/test/__snapshots__/schema-numberid.prisma, line 7

What does better-auth sign people in with?
better-auth signs people in with Better Auth, jose, simplewebauthn, and samlify.
What services does better-auth use?
better-auth uses MongoDB, Expo, and Redis.

The proof: packages/mongo-adapter/src/mongodb-adapter.ts, line 12

Does better-auth have tests?
Yes. better-auth has 565 test files and is tested with Vitest, msw, happy-dom, and memfs.
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.

Or look inside SeeRepo's own →

Is it your repo? Add its badge, keep it up to date or take it down →