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);
to
mongoose.connect(process.env.MONGO_URI, {useNewUrlParser: true});
but still no luck
Edit:
Ok I change this line
MONGO_URI="mongodb+srv://FFC_user1:<password>@clusterfcc1-3dmjm.mongodb.net/test?retryWrites=true&w=majority"
to
MONGO_URI="mongodb+srv://FFC_user1:password@clusterfcc1-3dmjm.mongodb.net/test?retryWrites=true&w=majority"
Just got rid of the greater and less than signs <> around the password and that was it