Initial commit

This commit is contained in:
2026-07-18 02:10:34 +00:00
commit 21ae003ded
54 changed files with 3269 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
import { treaty } from "@elysiajs/eden";
import type { App } from "@turborepo-starter-project/server";
export const api = treaty<App>(process.env.NEXT_PUBLIC_API_URL || "http://localhost:3000");
+12
View File
@@ -0,0 +1,12 @@
import { createAuthClient } from "better-auth/client";
import { adminClient } from "better-auth/client/plugins";
import { passkeyClient } from "@better-auth/passkey/client";
export const authClient = createAuthClient({
baseURL: process.env.NEXT_PUBLIC_API_URL || "http://localhost:3000",
basePath: "/auth",
plugins: [
adminClient(),
passkeyClient(),
],
})
+6
View File
@@ -0,0 +1,6 @@
import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}