4.67 out of 5
4.67
23583 reviews on Udemy

MongoDB – The Complete Developer’s Guide 2024

Master MongoDB Development for Web & Mobile Apps. CRUD Operations, Indexes, Aggregation Framework - All about MongoDB!
Instructor:
Academind by Maximilian Schwarzmüller
166,168 students enrolled
English [CC] More
Learn what document databases are and how data is organized with MongoDB
Learn how to perform CRUD operations with MongoDB
Don't stop at the basics - learn all about writing complex MongoDB queries, in-depth and with practical examples!
Write efficient and well-performing queries to fetch data in the format you need it
Use all features MongoDB offers you to work with data efficiently

Join this bestselling MongoDB course to learn all about this extremely popular database and query language from the ground up, in great detail and with many practical examples!

MongoDB is one of the most important NoSQL databases you can work with. It’s extremely popular and MongoDB developers are in high demand!

No matter if you’re building web applications, mobile applications or any other kind of application or if you’re a data scientist – you’ll need to work with data. Storing data, querying it efficiently and minimizing complexities whilst optimizing performance are crucial tasks.

MongoDB makes working with data simple – it’s built on a philosophy that prioritizes performance and efficiency.

In this course, you learn all about MongoDB from scratch. No prior MongoDB or database experience is required!

In detail, you’ll learn:

  • How to install and use MongoDB locally and in the cloud (MongoDB Atlas)

  • How to perform CRUD (Create, Read, Update, Delete) operations on MongoDB databases

  • How to filter for data efficiently

  • How to work with both the Mongo Shell and drivers (e.g. Node.js driver)

  • How to increase performance by using indexes (and how to use the right indexes!)

  • How to use the amazing “Aggregation Framework” that’s built into MongoDB

  • What replica sets and sharding are

  • How to use MongoDB Atlas – the cloud solution offered by MongoDB

  • How to use the serverless platform (Stitch) offered by MongoDB

  • And much more!

This course is a hands-on course – you’ll learn by writing code/ commands. We’ll work on a wide variety of example data and use-cases and by the end of the course, you’ll have all the knowledge you need to work with MongoDB in your next project!

This course is for you, no matter which programming language you plan on using, you’ll learn a uniform way of interacting with MongoDB that can be easily applied to any language.

This course is for you:

  • if you’re brand-new to MongoDB and databases in general

  • if you got some basic database or even MongoDB experience – in this course, there are different entry points you can choose from!

  • if you are a web or mobile app (or desktop app) developer who considers using MongoDB

  • if you’re working in a team that considers using MongoDB (or already does use it)

  • if you are primarily using SQL-based databases so far and you want to explore the most popular NoSQL alternative

This course is NOT for you:

  • if you’re looking for a guide on administrating MongoDB servers => This course focuses on the commands/ queries you write, it’s NOT an administration course. I will show (in detail) how to deploy a ready-to-use cloud MongoDB solution that follows best practices though.

Introduction

1
Introduction

Welcome to the course! Let me introduce myself and give you a rough overview of the course!

2
What is MongoDB?

Let's dive into the most important question: What is MongoDB? What is it all about? MongoDB is a NoSQL database and in this lecture, we'll explore why it's awesome!

3
Join our Online Learning Community

Learning alone is absolutely fine but finding learning partners might be a nice thing, too. Our learning community is a great place to learn and grow together - of course it's 100% free and optional!

4
The Key MongoDB Characteristics (and how they differ from SQL Databases)

MongoDB has a couple of key characteristics that set it apart from other databases - let's explore which characteristics these are.

5
Understanding the MongoDB Ecosystem

MongoDB is more than just a database engine - it's a company and a rich ecosystem of tools. In this lecture, you'll get a thorough overview of all the different pieces that make up MongoDB.

6
General Setup Instructions & Installing MongoDB on macOS
7
Installing MongoDB on Windows
8
Installing the MongoDB Shell
9
Installing mongoimport
10
Time To Get Started!

With the MongoDB tools installed, it's time to get started. Let's spin up a MongoDB server (on our local machine) and connect to it!

11
Shell vs Drivers

When it comes to connecting to a MongoDB database, you got various options, most importantly: The local shell or drivers for different programming languages. Let me explain the differences.

12
MongoDB + Clients: The Big Picture

We learned about a lot of different pieces that work together - here's a big picture that puts everything into context.

13
Course Outline

We know what MongoDB is - but what's in this course? In this lecture, you'll get an overview of the course content and the order in which it is presented.

14
How To Get The Most Out Of The Course

It's important to me that you succeed, hence in this lecture, I'll share some best practices regarding how to use the various course resources.

Understanding the Basics & CRUD Operations

1
Module Introduction
2
Understanding Databases, Collections & Documents
3
The Shell & MongoDB Drivers for Different Languages
4
Creating Databases & Collections
5
Understanding JSON Data
6
Comparing JSON & BSON
7
Create, Read, Update, Delete (CRUD) & MongoDB
8
Finding, Inserting, Deleting & Updating Elements
9
Understanding "insertMany()"
10
Diving Deeper Into Finding Data
11
"update" vs "updateMany()"
12
Understanding "find()" & the Cursor Object
13
Understanding Projection
14
Embedded Documents & Arrays - The Theory
15
Working with Embedded Documents
16
Working with Arrays
17
Accessing Structured Data
18
Time to Practice - The Basics & CRUD Operations
19
Wrap Up
20
Useful Resources & Links

Schemas & Relations: How to Structure Documents

1
Resetting Your Database
2
Module Introduction
3
Why Do We Use Schemas?
4
Structuring Documents
5
Data Types - An Overview
6
Data Types in Action
7
Data Types & Limits
8
How to Derive your Data Structure - Requirements
9
Understanding Relations
10
One To One Relations - Embedded
11
One To One - Using References
12
One To Many - Embedded
13
One To Many - Using References
14
Many To Many - Embedded
15
Many To Many - Using References
16
Summarizing Relations
17
Using "lookUp()" for Merging Reference Relations
18
Planning the Example Exercise
19
Implementing the Example Exercise
20
Understanding Schema Validation
21
Adding Collection Document Validation
22
Changing the Validation Action
23
Wrap Up
24
Useful Resources & Links

Exploring The Shell & The Server

1
Module Introduction
2
Finding Available Options
3
Setting "dbpath" & "logpath"
4
Exploring the MongoDB Options
5
MongoDB as a Background Service
6
Using a Config File
7
Shell Options & Help
8
Useful Resources & Links

Using the MongoDB Compass to Explore Data Visually

1
Module Introduction
2
Exploring the MongoDB Compass
3
Useful Resources & Links

Diving Into Create Operations

1
Module Introduction
2
Creating Documents - An Overview
3
Understanding "insert()" Methods
4
Working with Ordered Inserts
5
Understanding the "writeConcern"
6
The "writeConcern" in Practice
7
What is Atomicity?
8
Time to Practice - Create Operations
9
Importing Data
10
Wrap Up
11
Useful Resources & Links

Read Operations - A Closer Look

1
Module Introduction
2
Methods, Filters & Operators
3
Operators - An Overview
4
Query Selectors & Projection Operators
5
Understanding "findOne()" & "find()"
6
Working with Comparison Operators
7
Querying Embedded Fields & Arrays
8
Understanding "$in" and "$nin"
9
"$or" and "$nor"
10
Understanding the "$and" Operator
11
Using "$not"
12
Diving Into Element Operators
13
Working with "$type"
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.7
4.7 out of 5
23583 Ratings

Detailed Rating

Stars 5
14909
Stars 4
7025
Stars 3
1332
Stars 2
162
Stars 1
118