hello , please i need your help i don’t know how to connect on mongodb
i use replit ,in my myapp.js file I don’t know where exactly I’m going to put this mongoose.connect(, { useNewUrlParser: true, useUnifiedTopology: true }); and moreover I can not make my uri
see the link // boilerplate-mongomongoose - Replit
You still don’t appear to have added this line of code to your repl.
You won’t be able to connect until you do.
Have you stored your MONGO_URI in your Secrets tab?
That’s not a MongoDB uri. You need to follow the setup instructions (which are linked in the challenge description), to setup a connection with an external database cluster and get a uri which you can use to interact with it.
Have you followed the MongoDB setup guide I linked above (which is also linked in the challenge description)?
This will setup your connection to the external database and give you a URI which you can store in your Secrets tab.