fix: update to match curriculum challenge instructions
This commit is contained in:
parent
9c6b944373
commit
c7a1f51367
1 changed files with 6 additions and 3 deletions
9
myApp.js
9
myApp.js
|
@ -8,9 +8,12 @@
|
||||||
|
|
||||||
/** 1) Install & Set up mongoose */
|
/** 1) Install & Set up mongoose */
|
||||||
|
|
||||||
// Add `mongodb` and `mongoose` to the project's `package.json`. Then require
|
// Add mongodb and mongoose to the project's package.json. Then require
|
||||||
// `mongoose`. Store your **mLab** database URI in the private `.env` file
|
// mongoose. Store your Mongo Atlas database URI in the private .env file
|
||||||
// as `MONGO_URI`. Connect to the database using `mongoose.connect(<Your URI>)`
|
// as MONGO_URI. Connect to the database using the following syntax:
|
||||||
|
//
|
||||||
|
// mongoose.connect(<Your URI>, { useNewUrlParser: true, useUnifiedTopology: true });
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/** # SCHEMAS and MODELS #
|
/** # SCHEMAS and MODELS #
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue