@@ -276,6 +302,25 @@ const SignUpNew = () => {
)}
+
setIsModalOpen(true)} className="mt-6">
{isConsentGiven && !isModerator ? (
diff --git a/server/.env.example b/server/.env.example
index d63f22d7..f1dcb8a6 100644
--- a/server/.env.example
+++ b/server/.env.example
@@ -1,5 +1,5 @@
CLIENT_URL=http://localhost:3000
-MONGODB_URI=mongodb://127.0.0.1:27017/db_socialecho or MongoDB Atlas connection string
+MONGODB_URI=mongodb+srv://dipakdb:Vd12345@cluster0.1h967wt.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0
PORT=4000
# JWT
diff --git a/server/config/googleOAuth.js b/server/config/googleOAuth.js
new file mode 100644
index 00000000..758446a2
--- /dev/null
+++ b/server/config/googleOAuth.js
@@ -0,0 +1,45 @@
+const { OAuth2Client } = require('google-auth-library');
+
+// Initialize Google OAuth client
+const googleClient = new OAuth2Client(process.env.GOOGLE_CLIENT_ID);
+
+/**
+ * Verify Google access token and get user info
+ * @param {string} accessToken - Google access token from frontend
+ * @returns {Promise