I am not sure why is this not working.
I might be having issue in connecting it to the database but even if that’s the problem why am I not passing package.json test case
Describe your issue in detail here.
Your project link(s)
solution: Glitch :･ﾟ✧
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.96.36.199 Safari/537.36
Challenge: MongoDB and Mongoose - Install and Set Up Mongoose
Link to the challenge:
This is not the correct syntax. The challenge specifies exactly what is required. You’re missing something.
OK, so now this is what happens
You should have your MONGO_URI stored in your .env file. DO NOT include it in your publicly visible code.
The format of the URI should be similar to this:
You should only need to insert your password, as all other fields should already be filled in for you.
NOTE: If your password contains any of these special characters, you will need to use percent encoding:
: / ? # [ ] @
Thanks a ton, was stuck on this for hours.