mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-25 16:36:34 -05:00
27 lines
381 B
Markdown
27 lines
381 B
Markdown

|
|
An example of using Better Auth with [TanStack Start](https://tanstack.com/start).
|
|
|
|
## Setup
|
|
|
|
1. Move .env.example to .env and provide necessary variables
|
|
|
|
2. install dependencies:
|
|
|
|
```bash
|
|
pnpm install
|
|
```
|
|
|
|
3. migrate required tables:
|
|
|
|
```bash
|
|
pnpx @better-auth/cli migrate
|
|
```
|
|
|
|
To run:
|
|
|
|
```bash
|
|
pnpm dev
|
|
```
|
|
|
|
## Preview
|
|
 |