Test Time Out
#databases
fcc challenge test
package.json
.env
code:
/** 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(<Your URI>)`
const mongoose = require('mongoose');
mongoose.connect(process.env.MONGO_URI, {useNewUrlParser: true});
Challenge: MongoDB and Mongoose - Install and Set Up Mongoose
Link to the challenge: