diff --git a/myApp.js b/myApp.js index 42c92b8..3cce76b 100644 --- a/myApp.js +++ b/myApp.js @@ -8,9 +8,12 @@ /** 1) Install & Set up mongoose */ -// Add `mongodb` and `mongoose` to the project's `package.json`. Then require -// `mongoose`. Store your **mLab** database URI in the private `.env` file -// as `MONGO_URI`. Connect to the database using `mongoose.connect()` +// Add mongodb and mongoose to the project's package.json. Then require +// mongoose. Store your Mongo Atlas database URI in the private .env file +// as MONGO_URI. Connect to the database using the following syntax: +// +// mongoose.connect(, { useNewUrlParser: true, useUnifiedTopology: true }); + /** # SCHEMAS and MODELS #