Tell us what’s happening:
I successfully created the atlas database and tried connecting to the database using replit.
I created a secret environment variable instead of .env file and added the code below in my app.js file;
const mongoose = require(‘mongoose’);
Assuming my atlas db password is 12345, I used the following link for my environment variable
I had doubts if the link above is in the correct form.
Despite all of these I still get an unsatisfied requirement that mangoose should be connected to a database.
Your project link(s)
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:94.0) Gecko/20100101 Firefox/94.0
Challenge: Install and Set Up Mongoose
Link to the challenge: