MongoDB and Mongoose - Install and 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()

Get a hint