chore: scaffold turbo monorepo with hono api and react admin web

This commit is contained in:
Jose Selesan
2026-10-15 15:24:34 -03:00
commit 2b1d2152c4
89 changed files with 4996 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import { createAuthClient } from 'better-auth/react'
/**
* BetterAuth browser client. `baseURL` points at the Hono API, which mounts
* BetterAuth under `/api/auth/*`.
*/
export const authClient = createAuthClient({
baseURL: import.meta.env.VITE_API_URL ?? 'http://localhost:3000',
})
export const { signIn, signUp, signOut, useSession } = authClient