First exercise of mongodb my app seems to timeout

Could you have a look at my app, to see what might be wrong?

edit: I removed the link to Glitch

check the package.json file for dependencies to see if everything looks right with mongodb and mongoose.

check the .env file for the MONGO_URI,

I don’t know why it’s URI and not URL?

check myApp.js file to see if I required mongoose and connected right

ok I ran

npm install mongoose

from the the console. and the app is up and running but it says it’s not connected now

Edit: Ok I changed this line



mongoose.connect(process.env.MONGO_URI, {useNewUrlParser: true});

but still no luck

Ok I change this line




Just got rid of the greater and less than signs <> around the password and that was it