Using MongoDB with Express
Starting with the code we did in the last tutorial, we will now demonstrate using MongoDB with Express on Node.js. 1. First we had set up a mongolab database called “firstdb” with a...
read moreHow to change API key of MongoLab user account
Each user of your MongoLab account has an API key by which client code can access MongoLab resources via REST API. To regenerate or change this key, you … 1. Log into MongoLab. 2. Click...
read moreHow to change MongoLab password
Here is how to change your MongoLab account password … 1. Log into MongoLab. 2. Click Account. 3. Under the Account User tab, click the user of the password to change. 4. Enter new...
read moreWhy mongodb giving exception “BSON representation of supplied JSON is too ...
Are you getting the exception “BSON representation of supplied JSON is too large” while importing JSON into mongodb via the mongoimport command in the mongoshell? Is your JSON data...
read moreHow to import json data into mongodb
In previous tutorial, we created a mongodb database “firstdb” in mongolab. In this tutorial, we will be importing JSON data into this mongodb. The data will come from...
read moreTutorial on exporting mongodb database with mongoexport
In our getting started with mongodb tutorial, we created a database in mongolab called “firstdb” with a “people” collection. Let’s export that collection into JSON...
read moreHow to use mongorestore to restore mongodb database
After dumping the mongodb database named “firstdb” in the previous tutorial, we can use mongorestore command in the command prompt to restore the “firstdb” database to...
read moreTutorial using mongodump to backup mongodb database
Let’s use the mongodump.exe command to backup our “firstdb” mongodb database that we had created in the previous tutorial. As in the previous tutorial, we assume that we created...
read moreMongoDB Tutorial – Getting Started with MongoLab
This is a very basic MongoDB tutorial that will show you how to create a MongoDB database, add user, add document, and delete a database. We will be using MongoLab as our database provider and host...
read moreAll contents are opinions and are copyrighted and may contain display ads and ad links for which site may receive revenues from.
See Terms of Use and Privacy Policy.