finished client + added docker compose builds for client and server

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-27 14:50:05 -05:00
parent 34873a3d89
commit b4fd4ee8e6
25 changed files with 1661 additions and 40 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))
}