Nodejs MongoDB Create Database

In MongoDB, First we create a MongoClient object, then specify a connection URL with the correct ip address and Database.

Code :