Files
better-auth/examples/tanstack-example
Marc Mogdanz 8dffaa2cd6 docs: use APIRoute instead of Route for tanstack start api routes (#943)
* fix(docs): use `APIRoute` instead of `Route` for tanstack start api routes

* fix(cli): remove unused import in drizzle schema
2024-12-20 20:59:52 +03:00
..
2024-10-30 09:20:44 +03:00
2024-12-07 11:39:22 +03:00
2024-10-30 09:20:44 +03:00

Banner An example of using Better Auth with TanStack Start.

Setup

  1. Move .env.example to .env and provide necessary variables

  2. install dependencies:

pnpm install
  1. migrate required tables:
pnpx @better-auth/cli migrate

To run:

pnpm dev

Preview

Sign In Preview