piyushgarg-dev / piyushgargdev-nextjs

https://piyushgarg.dev
191 stars 1.28k forks source link

[Bug]: Missing environment variable :"MONGODB_URI" #1734

Open YuvarajPujari opened 4 weeks ago

YuvarajPujari commented 4 weeks ago

Describe the bug

The website encounters a Server Error: Missing environment variable MONGODB_URI during the login process.

To Reproduce

Click on the Login button to initiate the login process. The error message appears: "Missing environment variable: MONGODB_URI."

Expected behavior

Upon clicking the Login button, the user should be successfully authenticated and redirected to the appropriate dashboard or homepage without encountering any server errors. The application should use the valid MONGODB_URI to connect to the MongoDB database and retrieve the necessary user information for login.

Screenshots/Videos

No response

Additional context

No response

Please checkmark the following checklist