mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-21 05:39:15 -05:00
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
73 lines
2.4 KiB
Markdown
73 lines
2.4 KiB
Markdown
<picture>
|
|
<source media="(prefers-color-scheme: dark)" srcset="public/branding/svg/better-auth-wordmark-light.svg" />
|
|
|
|
<source media="(prefers-color-scheme: light)" srcset="public/branding/svg/better-auth-wordmark-dark.svg" />
|
|
|
|
<img alt="Better Auth" src="public/branding/svg/better-auth-wordmark-dark.svg" width="280" />
|
|
</picture>
|
|
|
|
### Website & Docs
|
|
|
|
The main website and documentation for [better-auth.com](https://better-auth.com)
|
|
|
|
[](https://better-auth.com)
|
|
[](https://github.com/better-auth/better-auth)
|
|
[](LICENSE)
|
|
|
|
***
|
|
|
|
## Quick Start
|
|
|
|
```bash
|
|
# install
|
|
pnpm install
|
|
|
|
# develop
|
|
pnpm dev
|
|
```
|
|
|
|
Open **[localhost:3000](http://localhost:3000)** to preview.
|
|
|
|
## Stack
|
|
|
|
* **Framework**: Next.js 16 (App Router, Turbopack)
|
|
* **Styling**: Tailwind CSS 4
|
|
* **Animation**: Framer Motion
|
|
* **Docs**: Fumadocs
|
|
* **Icons**: Lucide React
|
|
* **Fonts**: Geist Sans & Geist Mono
|
|
|
|
## Structure
|
|
|
|
```
|
|
├─ app/
|
|
│ ├─ page.tsx # Home — hero + sign-in demo
|
|
│ ├─ products/ # Products page
|
|
│ ├─ blog/ # Blog posts
|
|
│ └─ docs/[[...slug]]/ # Documentation (MDX)
|
|
│
|
|
├─ components/
|
|
│ ├─ landing/ # Marketing components
|
|
│ ├─ docs/ # Documentation components
|
|
│ ├─ ui/ # Shared primitives
|
|
│ └─ icons/ # Brand icons & logo
|
|
│
|
|
├─ content/ # MDX documentation files
|
|
│
|
|
├─ lib/
|
|
│ ├─ source.ts # Fumadocs content source
|
|
│ └─ utils.ts # Utilities
|
|
│
|
|
└─ public/
|
|
└─ branding/ # Logo assets (SVG + PNG)
|
|
```
|
|
|
|
## Scripts
|
|
|
|
```bash
|
|
pnpm dev # Start dev server (Turbopack)
|
|
pnpm build # Production build
|
|
pnpm start # Serve production build
|
|
pnpm lint:fix # Lint & auto-fix with Biome
|
|
```
|