mirror of
https://github.com/better-auth/better-auth.git
synced 2026-08-24 14:34:26 -05:00
20 lines
589 B
Markdown
20 lines
589 B
Markdown
# SvelteKit Better Auth Example
|
|
|
|
|
|
This is an example of how to use Better Auth with SvelteKit.
|
|
|
|
**Implements the following features:**
|
|
Email & Password . <u>Social Sign-in with Google</u> . Passkeys . Email Verification . Password Reset . Two Factor Authentication . Profile Update . Session Management
|
|
|
|
## How to run
|
|
|
|
1. Clone the code sandbox (or the repo) and open it in your code editor
|
|
2. Move .env.example to .env and provide necessary variables
|
|
3. Run the following commands
|
|
```bash
|
|
pnpm install
|
|
pnpm dev
|
|
```
|
|
4. Open the browser and navigate to `http://localhost:3000`
|
|
|