feat: Implement Convex authentication including sign-in/sign-up UI, Convex client provider, and backend auth functions.

This commit is contained in:
2026-02-02 16:23:28 +00:00
parent b060e7f008
commit a795e92ef3
15 changed files with 1335 additions and 5 deletions

9
middleware.ts Normal file
View File

@@ -0,0 +1,9 @@
import { convexAuthNextjsMiddleware } from "@convex-dev/auth/nextjs/server";
export default convexAuthNextjsMiddleware();
export const config = {
// The following matcher runs middleware on all routes
// except static assets.
matcher: ["/((?!.*\\..*|_next).*)", "/", "/(api|trpc)(.*)"],
};