Skip to content
Snippets Groups Projects
Commit 4be22b73 authored by Suvi Hyvönen's avatar Suvi Hyvönen
Browse files

Update mongo.js

parent cefe3ede
No related branches found
No related tags found
No related merge requests found
const mongoose = require('mongoose')
// Replace with the URL of your own database. Do not store the password on GitHub!
const url = 'mongodb+srv://fullstack:Koodaanko247@clusterphonebook-duq8b.mongodb.net/fullstack-contacts'
const url = 'mongodb+srv://fullstack:xxx@clusterphonebook-duq8b.mongodb.net/fullstack-contacts'
mongoose.connect(url, { useNewUrlParser: true })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment