+ Not Found
+
+ Visit{" "}
+
+ solidjs.com
+ {" "}
+ to learn how to build Solid apps.
+
+
+
+ Home
+
+ {" - "}
+
+ About Page
+
+
+
+ );
+}
diff --git a/examples/with-drizzle-zero-better-auth/src/routes/api/*auth.ts b/examples/with-drizzle-zero-better-auth/src/routes/api/*auth.ts
new file mode 100644
index 000000000..59d394947
--- /dev/null
+++ b/examples/with-drizzle-zero-better-auth/src/routes/api/*auth.ts
@@ -0,0 +1,4 @@
+import { toSolidStartHandler } from "better-auth/solid-start";
+import { auth } from "~/lib/auth";
+
+export const { GET, POST } = toSolidStartHandler(auth);
diff --git a/examples/with-drizzle-zero-better-auth/src/routes/login.tsx b/examples/with-drizzle-zero-better-auth/src/routes/login.tsx
new file mode 100644
index 000000000..6ef661438
--- /dev/null
+++ b/examples/with-drizzle-zero-better-auth/src/routes/login.tsx
@@ -0,0 +1,47 @@
+import { action, useSubmission } from "@solidjs/router";
+import { Show } from "solid-js";
+import { authClient } from "~/lib/auth-client";
+
+const onLogin = action(async (formData: FormData) => {
+ const username = formData.get("username") as string;
+ const password = formData.get("password") as string;
+ const { error } = await authClient.signIn.username({
+ username,
+ password
+ });
+ if (error) {
+ throw error;
+ }
+
+ return { success: true };
+}, "login");
+
+export default function Login() {
+ const submission = useSubmission(onLogin);
+
+ return (
+