- https://www.digitalocean.com/community/tutorials/how-to-create-retrieve-update-and-delete-records-in-mongodb/
- https://www.freecodecamp.org/news/introduction-to-mongoose-for-mongodb-d2a7aa593c57/
- https://masteringjs.io/mongoose
- http://tutorialtous.com/mongoose/mongooseapi.php -https://masteringjs.io/tutorials/mongoose/find
const uri = "mongodb+srv://sa:<password>@cluster0.qa3t4.mongodb.net/<dbname>?retryWrites=true&w=majority";
const client = new MongoClient(uri, { useNewUrlParser: true });
client.connect(err => {
const collection = client.db("test").collection("devices");
// perform actions on the collection object
client.close();
});```