Better Auth
stackfoundry/auth-better-authFreeBlock
Better Auth server config, Next.js route handler, and typed client starter.
Install it
npx shadcn@latest add https://stackfoundry.dev/r/auth-better-auth.jsonSource
1const checks = [2 "Install provider package and configure env",3 "Run the local example path",4 "Add auth, retries, and audit events before production",5];67export default function BetterAuthPage() {8 return (9 <main className="flex flex-col gap-6 p-6">10 <div>11 <h1 className="text-2xl font-semibold">Better Auth</h1>12 <p className="text-muted-foreground">Self-hosted TypeScript auth with email/password, plugins, and App Router handlers.</p>13 </div>14 <div className="grid gap-3">15 {checks.map((check) => (16 <div key={check} className="rounded-lg border p-4 text-sm">{check}</div>17 ))}18 </div>19 </main>20 );21}
What it pulls in
npm packages
Files it writes
More from stackfoundry
All 157 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Account Deletionaccount-deletion | stackfoundry | Blocks | Free | no deps · 3 files | |
| Account Modesaccount-modes | stackfoundry | Blocks | Free | no deps · 3 files | |
| Account Settingsaccount-settings | stackfoundry | Blocks | Free | no deps · 2 files | |
| Admin Consoleadmin-console | stackfoundry | Blocks | Free | no deps · 2 files | |
| Agent-Ready Installsagent-ready-installs | stackfoundry | Blocks | Free | no deps · 13 files | |
| AI Chatai-chat | stackfoundry | Blocks | Free | 3 deps · 4 files | |
| AI Chatbot SDKai-chatbot-sdk | stackfoundry | Blocks | Free | 3 deps · 2 files | |
| AI Elementsai-elements | stackfoundry | Blocks | Free | no deps · 5 files |
