mongodb nodejs connect localhost code example Example: mongodb nodejs connect localhost "mongodb://localhost:27017/MyDb"