js file for creating Mongodb and insert code example
Example: how to create object in php
//define a class
class MyClass{
//create properties, constructor or methods
}
//create object using "new" keyword
$object = new MyClass();
//or wihtout parenthesis
$object = new MyClass;