feat: Implement user authentication using NextAuth with social and credentials providers.

This commit is contained in:
pradeepkumar
2025-12-20 19:22:35 +05:30
parent b1cd8376ac
commit 218337666e
8 changed files with 452 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { SessionProvider } from "@/components/providers/session-provider";
import "./globals.css";
const geistSans = Geist({
@@ -13,8 +14,8 @@ const geistMono = Geist_Mono({
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "Real Estate Platform",
description: "Find your dream property with trusted agents",
};
export default function RootLayout({
@@ -27,7 +28,7 @@ export default function RootLayout({
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
<SessionProvider>{children}</SessionProvider>
</body>
</html>
);