Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

MongoDB Tutorial for Beginners (2024)

Packt via Coursera

Overview

Coursera Plus Monthly Sale: All Certificates & Courses 40% Off!
Master the fundamentals of MongoDB, one of the most popular NoSQL databases, through this beginner-friendly course packed with hands-on examples. You'll explore core MongoDB concepts such as collections, documents, and fields, and understand how MongoDB differs from traditional SQL databases like MySQL. By the end of this course, you’ll be comfortable navigating and using MongoDB for real-world applications. The course begins with an introduction to MongoDB and the NoSQL paradigm, followed by installation and setup across different systems. You’ll learn to create and manage databases and collections, and perform essential CRUD operations such as inserting, displaying, and deleting documents. As you progress, you’ll implement advanced features like logical operators, query limitations, sorting, indexing, and text search to refine data retrieval. In later sections, you'll explore performance and diagnostic tools like explain(), stats(), and listCommands(), followed by an introduction to data aggregation and combining limit() and skip() in a single query. Each module is packed with live coding examples to reinforce every concept through practice. This course is ideal for developers, aspiring database administrators, or students looking to learn MongoDB from scratch. No prior database or programming experience is required. However, basic computer skills—such as using the terminal/command prompt and installing software—are recommended.

Syllabus

  • MongoDB Introduction
    • In this module, we will introduce MongoDB as a powerful NoSQL database, emphasizing its features, unique data structure, and key differences from SQL-based databases like MySQL. You’ll gain an understanding of how MongoDB organizes data and the fundamental concepts of collections and documents.
  • MongoDB Installation and Setup
    • In this module, we will walk through the installation of MongoDB on Windows 10, including setting up the necessary paths and running MongoDB as a background service (mongod). You'll ensure your system is ready for MongoDB development.
  • Create a Database and Collection
    • In this module, we will guide you through the process of creating a MongoDB database and adding collections within it. You will understand how to structure your data and create containers for your documents.
  • Drop a Collection and Database
    • In this module, we will cover the process of deleting collections and databases in MongoDB, exploring how this action removes all associated data. You will learn to manage data deletion and ensure you know when and how to use these commands safely.
  • Insert and Display
    • In this module, we will teach you how to insert documents into MongoDB collections, display and format query results, and understand how to manipulate MongoDB data. You'll also see how to display all collections in a specific database.
  • MongoDB Operators
    • In this module, we will explore the power of MongoDB operators, showing how to use AND, OR, NOR, and NOT to filter and retrieve data based on multiple conditions. These operators will allow you to perform more complex queries.
  • Limit and Skip Records or Documents
    • In this module, we will focus on how to control the number of documents returned in your queries by using the limit() and skip() methods. You’ll learn how these methods can help with pagination and more efficient data retrieval.
  • Sort Records in MongoDB
    • In this module, we will guide you through the process of sorting MongoDB query results using the sort() method. You’ll discover how to organize documents by specific fields, in either ascending or descending order.
  • Text Indexing in MongoDB
    • In this module, we will teach you how to create and delete text indexes in MongoDB. You will understand how text indexing enhances the search functionality within your MongoDB collections.
  • Text Search in MongoDB
    • In this module, we will demonstrate how to conduct text searches on MongoDB collections using the $text operator. This will allow you to retrieve documents based on text search criteria.
  • Section Name
    • In this module, we will cover some advanced MongoDB commands. You’ll learn how to fetch data from collections, understand query execution plans, and gather valuable statistics about your MongoDB databases and collections.
  • MongoDB Advanced Topics
    • In this module, we will explore advanced MongoDB techniques, including data aggregation and combining limit/skip in a single query. These tools will enhance your ability to perform sophisticated data manipulations and retrievals.

Taught by

Packt - Course Instructors

Reviews

Start your review of MongoDB Tutorial for Beginners (2024)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.