SaranshBangar / Daneizo

Why buy when you can rent it!
https://daneizo.vercel.app/
MIT License
24 stars 43 forks source link

Added Google OAuth for login and registering purposes! #97

Open LitZeus opened 1 month ago

LitZeus commented 1 month ago

Implemented the Google OAuth authentication in the login and sign up pages

fixes: #72

following are the snapshots of it!

376067593-08aca253-4e6f-4b4c-a300-cf31181bf941 376067749-40f54293-1813-49ce-ae0e-de31f9803088 376067606-d7c1de39-d968-4072-9641-7ddcc5528c20

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
daneizo ❌ Failed (Inspect) Oct 23, 2024 0:33am
LitZeus commented 1 month ago

@SaranshBangar Have you checked the environment variables (.env file) as I have updated it and added firebase application variables. You can check the application name in the snapshot given below which I have created for testing using my own firebase credentials. I have also updated the README.md according to the new variables. also I will remove the quotes and the blank spaces as it could also be the reason for the error. Please reflect me after checking it!

image

MONGODB_URI=mongodb+srv:
NEXT_PUBLIC_RAZORPAY_KEY=<razorpay-key>

# Firebase Configuration
NEXT_PUBLIC_FIREBASE_API_KEY=<your-firebase-api-key>
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=<your-firebase-auth-domain>
NEXT_PUBLIC_FIREBASE_PROJECT_ID=<your-firebase-project-id>
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=<your-firebase-storage-key>
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=<your-firebase-messaging-sender-id>
NEXT_PUBLIC_FIREBASE_APP_ID=<your-firebase-app-id>
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=<your-firebase-measurement-id>
LitZeus commented 1 month ago

@SaranshBangar

Resolved the merge commits!

Also can i update the .gitignore as the package-lock.json file is also uploading which is not required for the project repo on github and auto generated after the package installing through node package manager.