From 33cec6b6f25463dac36e9fc8ca452383a9f1ba39 Mon Sep 17 00:00:00 2001 From: classicmatsuo Date: Fri, 13 Dec 2019 04:53:11 -0600 Subject: [PATCH] fix: updated instructions for install-and-set-up-mongoose (#37908) Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> Co-authored-by: Kevin Matsuo --- .../mongodb-and-mongoose/install-and-set-up-mongoose.english.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/05-apis-and-microservices/mongodb-and-mongoose/install-and-set-up-mongoose.english.md b/curriculum/challenges/english/05-apis-and-microservices/mongodb-and-mongoose/install-and-set-up-mongoose.english.md index 77a6903a1e..5a996cca25 100644 --- a/curriculum/challenges/english/05-apis-and-microservices/mongodb-and-mongoose/install-and-set-up-mongoose.english.md +++ b/curriculum/challenges/english/05-apis-and-microservices/mongodb-and-mongoose/install-and-set-up-mongoose.english.md @@ -7,7 +7,7 @@ forumTopicId: 301540 ## Description
-Add mongodb and mongoose to the project’s package.json. Then require mongoose. Store your MongoDB Atlas database URI in the private .env file as MONGO_URI. Connect to the database using the following syntax: +Add mongodb and mongoose to the project’s package.json. Then require mongoose. Store your MongoDB Atlas database URI in the private .env file as MONGO_URI. Surround the the URI with single or double quotes and make sure no space exists between both the variable and the `=` and the value and `=`. Connect to the database using the following syntax: ```js mongoose.connect(, { useNewUrlParser: true, useUnifiedTopology: true });