Tutorials on Web Development, Programming, and Web Design

Using MongoDB with Express

In Tutorials

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 more

How to change API key of MongoLab user account

In Articles

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 more

How to change MongoLab password

In Articles

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 more

Why mongodb giving exception “BSON representation of supplied JSON is too ...

In Articles

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 more

How to import json data into mongodb

In Tutorials

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 more

Tutorial on exporting mongodb database with mongoexport

In Tutorials

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 more

How to use mongorestore to restore mongodb database

In Tutorials

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 more

Tutorial using mongodump to backup mongodb database

In Tutorials

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 more

MongoDB Tutorial – Getting Started with MongoLab

In Tutorials

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 more

Learn Web Tutorials is hosted by Hostmonster and design based on Wordpress template by Elegant Themes
All 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.