VOOZH about

URL: https://www.coursera.org/learn/packt-mongodb-tutorial-for-beginners-2024-v8pfw

⇱ MongoDB Tutorial for Beginners (2024) | Coursera


MongoDB Tutorial for Beginners (2024)

Ends soon! Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

MongoDB Tutorial for Beginners (2024)

Included with

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

8 hours to complete
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

8 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Learn how to set up MongoDB on Windows and create databases and collections.

  • Understand the differences between NoSQL and SQL, using MongoDB and MySQL as examples.

  • Master MongoDB's essential query operations, such as insert(), find(), and sort().

  • Gain expertise in more advanced MongoDB topics, including aggregation and text indexing.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

13 assignments

Taught in English

There are 12 modules in this course

Updated in May 2025.

This course now features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. 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.

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.

What's included

3 videos1 reading

3 videosTotal 8 minutes
  • Introduction to MongoDB1 minute
  • Introduction and Features4 minutes
  • NoSQL Versus SQL (With Examples - MongoDB Versus MySQL)3 minutes
1 readingTotal 10 minutes
  • Full Course Resources10 minutes

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.

What's included

2 videos1 assignment

2 videosTotal 11 minutes
  • Install MongoDB 8 on Windows 105 minutes
  • Install MongoDB 8 on Windows 116 minutes
1 assignmentTotal 15 minutes
  • MongoDB Installation and Setup - Assessment15 minutes

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.

What's included

2 videos1 assignment

2 videosTotal 8 minutes
  • How to create a Database in MongoDB3 minutes
  • How to Create a Collection in MongoDB6 minutes
1 assignmentTotal 15 minutes
  • Create a Database and Collection - Assessment15 minutes

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.

What's included

2 videos1 assignment

2 videosTotal 6 minutes
  • Drop a Collection4 minutes
  • Drop a Database2 minutes
1 assignmentTotal 15 minutes
  • Drop a Collection and Database - Assessment15 minutes

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.

What's included

4 videos1 assignment

4 videosTotal 17 minutes
  • Display Documents3 minutes
  • Insert Documents9 minutes
  • Display Documents in a Formatted Way - pretty() Method3 minutes
  • Display Collections2 minutes
1 assignmentTotal 15 minutes
  • Insert and Display - Assessment15 minutes

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.

What's included

4 videos1 assignment

4 videosTotal 14 minutes
  • AND Operator3 minutes
  • OR Operator4 minutes
  • NOR Operator4 minutes
  • NOT Operator3 minutes
1 assignmentTotal 15 minutes
  • MongoDB Operators - Assessment15 minutes

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.

What's included

2 videos1 assignment

2 videosTotal 6 minutes
  • Limit Records with the limit() Method3 minutes
  • Skip Documents with the skip() Method3 minutes
1 assignmentTotal 15 minutes
  • Limit and Skip Records or Documents - Assessment15 minutes

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.

What's included

1 video1 assignment

1 videoTotal 5 minutes
  • Sort Records5 minutes
1 assignmentTotal 15 minutes
  • Sort Records in MongoDB - Assessment15 minutes

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.

What's included

1 video1 assignment

1 videoTotal 4 minutes
  • Create and Delete Text Index4 minutes
1 assignmentTotal 15 minutes
  • Text Indexing in MongoDB - Assessment15 minutes

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.

What's included

1 video1 assignment

1 videoTotal 3 minutes
  • Text Search on a Collection in MongoDB3 minutes
1 assignmentTotal 15 minutes
  • Text Search in MongoDB - Assessment15 minutes

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.

What's included

5 videos1 assignment

5 videosTotal 9 minutes
  • find() - Fetch Documents From a Collection3 minutes
  • explain() - Provide Information on the Query Plan2 minutes
  • stats() - Display Statistics of a Database2 minutes
  • listCommands() - Display a List of All Database Commands1 minute
  • getCollectionInfos() - Display Collection Information2 minutes
1 assignmentTotal 15 minutes
  • Section Name - Assessment15 minutes

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.

What's included

2 videos3 assignments

2 videosTotal 8 minutes
  • Aggregate Records in MongoDB3 minutes
  • Limit and Skip Records in a Single Query5 minutes
3 assignmentsTotal 90 minutes
  • Full Course Practice Assessment15 minutes
  • MongoDB Advanced Topics - Assessment15 minutes
  • Full Course Assessment60 minutes

Instructor

Offered by

Explore more from Data Analysis

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions

Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.

If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.

Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.

If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.

This course is currently available only to learners who have paid or received financial aid, when available.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,