Having Trouble connecting MongoDB with Mongoose
If you have the same folder structure, you should have a config/default.json like this, containing the string you copy-pasted from your mongoDB cluster connection settings:
{ "mongoURI": "mongodb+srv://username:<password>@devconnector-clusterid.mongodb.net/somethingSomething?retryWrites=true", "jwtSecret": "secret", "githubClientId": "", "githubSecret": ""}
Be sure to remove the characters < > when you enter your password.
All the files for the new course here - Devconnector 2.0 In the older version of the course it's config/keys.js .
I made the same mistake initially. In the MongoDB URI link remove the '{}' on