-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't connect to mongoDB atlas #6
Comments
I have the same problem. |
I added mongodb dependency to backend, and also used whole driver for connection |
Can you please explain the process in a elaborated way, I'm having the same issue. Thanks. |
Added mongodb dependency to package.json file for backend. db connection in server.js const uri = process.env.ATLAS_URI; const tasksRouter = require('./routes/tasks'); app.use('/tasks', tasksRouter); app.listen(port, () => { |
hi
thanks a lot for a great tutorial. I am new to nodejs and the whole mern stack.
I have executed the code as instructed but the connection to mongoDB atlas is not working.
The confirmation string about the successful connection is displayed on the console.
also the mongoDb cluster dashboard does not show any connections
The text was updated successfully, but these errors were encountered: