Fast n Easy Connection with MongoDb .
This package helps you in connection with the MongoDb without using any connector like mongoose Now creating db is as easy as using fetch() or XmlHttprequest .Remove the hassel of writing long codes as package will handle it automatically .
Create a Mongodb Atlas account and login in .
Create a Project and set the IP address to 0.0.0.0 , So that it can be access from anywhere.
Create a cluster in the Project .
Create a user and write down thw username , password and the connection URL so that it can be used later .
{
"data": [
{
"field_1": "value_1",
"field_2": "value_2"
},
{
"field_1": "value_1",
"field_2": "value_2"
},
{
"field_1": "value_1",
"field_2": "value_2"
}
],
"url": "<Your Mongodb Connection Url to the Cluster Created on the Mongodb Atlas>",
"model": "<Name of the db>",
"schema": {
"field_1": "Data Type supported with the MongoDb",
"field_2": "Data Type supported with the MongoDb"
}
}