Initial commit

This commit is contained in:
Developer
2026-02-06 21:44:04 -06:00
commit f85e93c7a6
151 changed files with 22916 additions and 0 deletions

9
lib/auth-client.ts Normal file
View File

@@ -0,0 +1,9 @@
import { createAuthClient } from "better-auth/react";
const baseURL = typeof window !== "undefined" ? window.location.origin : "http://localhost:3001";
export const authClient = createAuthClient({
baseURL: baseURL,
});
export const { signUp, signIn, signOut, useSession } = authClient;