MongoDB The Complete Developers Guide 2023

Master MongoDB Development for Web & Mobile Apps. CRUD Operations, Indexes, Aggregation Framework – All about MongoDB!
MongoDB The Complete Developers Guide 2023
File Size :
5.51 GB
Total length :
17h 34m



Academind by Maximilian Schwarzmüller


Last update

Last updated 11/2022



MongoDB The Complete Developers Guide 2023

What you’ll learn

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

MongoDB The Complete Developers Guide 2023


NO prior knowledge on databases (of any kind) is required
General web development or mobile development knowledge will help you but is not a must-have
You can use any operating system – Windows, macOS, Linux, it’ll all work!


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 these days. 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’ll 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 alternativeThis 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.


Section 1: Introduction

Lecture 1 Introduction

Lecture 2 What is MongoDB?

Lecture 3 Join our Online Learning Community

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

Lecture 5 Understanding the MongoDB Ecosystem

Lecture 6 General Setup Instructions & Installing MongoDB on macOS

Lecture 7 Installing MongoDB on Windows

Lecture 8 Installing the MongoDB Shell

Lecture 9 Installing mongoimport

Lecture 10 Time To Get Started!

Lecture 11 Shell vs Drivers

Lecture 12 MongoDB + Clients: The Big Picture

Lecture 13 Course Outline

Lecture 14 How To Get The Most Out Of The Course

Section 2: Understanding the Basics & CRUD Operations

Lecture 15 Module Introduction

Lecture 16 Understanding Databases, Collections & Documents

Lecture 17 The Shell & MongoDB Drivers for Different Languages

Lecture 18 Creating Databases & Collections

Lecture 19 Understanding JSON Data

Lecture 20 Comparing JSON & BSON

Lecture 21 Create, Read, Update, Delete (CRUD) & MongoDB

Lecture 22 Finding, Inserting, Deleting & Updating Elements

Lecture 23 Understanding “insertMany()”

Lecture 24 Diving Deeper Into Finding Data

Lecture 25 “update” vs “updateMany()”

Lecture 26 Understanding “find()” & the Cursor Object

Lecture 27 Understanding Projection

Lecture 28 Embedded Documents & Arrays – The Theory

Lecture 29 Working with Embedded Documents

Lecture 30 Working with Arrays

Lecture 31 Accessing Structured Data

Lecture 32 Wrap Up

Lecture 33 Useful Resources & Links

Section 3: Schemas & Relations: How to Structure Documents

Lecture 34 Resetting Your Database

Lecture 35 Module Introduction

Lecture 36 Why Do We Use Schemas?

Lecture 37 Structuring Documents

Lecture 38 Data Types – An Overview

Lecture 39 Data Types in Action

Lecture 40 Data Types & Limits

Lecture 41 How to Derive your Data Structure – Requirements

Lecture 42 Understanding Relations

Lecture 43 One To One Relations – Embedded

Lecture 44 One To One – Using References

Lecture 45 One To Many – Embedded

Lecture 46 One To Many – Using References

Lecture 47 Many To Many – Embedded

Lecture 48 Many To Many – Using References

Lecture 49 Summarizing Relations

Lecture 50 Using “lookUp()” for Merging Reference Relations

Lecture 51 Planning the Example Exercise

Lecture 52 Implementing the Example Exercise

Lecture 53 Understanding Schema Validation

Lecture 54 Adding Collection Document Validation

Lecture 55 Changing the Validation Action

Lecture 56 Wrap Up

Lecture 57 Useful Resources & Links

Section 4: Exploring The Shell & The Server

Lecture 58 Module Introduction

Lecture 59 Finding Available Options

Lecture 60 Setting “dbpath” & “logpath”

Lecture 61 Exploring the MongoDB Options

Lecture 62 MongoDB as a Background Service

Lecture 63 Using a Config File

Lecture 64 Shell Options & Help

Lecture 65 Useful Resources & Links

Section 5: Using the MongoDB Compass to Explore Data Visually

Lecture 66 Module Introduction

Lecture 67 Exploring the MongoDB Compass

Lecture 68 Useful Resources & Links

Section 6: Diving Into Create Operations

Lecture 69 Module Introduction

Lecture 70 Creating Documents – An Overview

Lecture 71 Understanding “insert()” Methods

Lecture 72 Working with Ordered Inserts

Lecture 73 Understanding the “writeConcern”

Lecture 74 The “writeConcern” in Practice

Lecture 75 What is Atomicity?

Lecture 76 Importing Data

Lecture 77 Wrap Up

Lecture 78 Useful Resources & Links

Section 7: Read Operations – A Closer Look

Lecture 79 Module Introduction

Lecture 80 Methods, Filters & Operators

Lecture 81 Operators – An Overview

Lecture 82 Query Selectors & Projection Operators

Lecture 83 Understanding “findOne()” & “find()”

Lecture 84 Working with Comparison Operators

Lecture 85 Querying Embedded Fields & Arrays

Lecture 86 Understanding “$in” and “$nin”

Lecture 87 “$or” and “$nor”

Lecture 88 Understanding the “$and” Operator

Lecture 89 Using “$not”

Lecture 90 Diving Into Element Operators

Lecture 91 Working with “$type”

Lecture 92 Understanding Evaluation Operators – “$regex”

Lecture 93 Understanding Evaluation Operators – “$expr”

Lecture 94 Diving Deeper Into Querying Arrays

Lecture 95 Using Array Query Selectors – “$size”

Lecture 96 Using Array Query Selectors – “$all”

Lecture 97 Using Array Query Selectors – “$elemMatch”

Lecture 98 Understanding Cursors

Lecture 99 Applying Cursors

Lecture 100 Sorting Cursor Results

Lecture 101 Skipping & Limiting Cursor Results

Lecture 102 Using Projection to Shape our Results

Lecture 103 Using Projection in Arrays

Lecture 104 Understanding “$slice”

Lecture 105 Useful Resources & Links

Section 8: Update Operations

Lecture 106 Module Introduction

Lecture 107 Updating Fields with “updateOne()”, “updateMany()” and “$set”

Lecture 108 Updating Multiple Fields with “$set”

Lecture 109 Incrementing & Decrementing Values

Lecture 110 Using “$min”, “$max” and “$mul”

Lecture 111 Getting Rid of Fields

Lecture 112 Renaming Fields

Lecture 113 Understanding “upsert()”

Lecture 114 Updating Matched Array Elements

Lecture 115 Updating All Array Elements

Lecture 116 Finding & Updating Specific Fields

Lecture 117 Adding Elements to Arrays

Lecture 118 Removing Elements from Arrays

Lecture 119 Understanding “$addToSet”

Lecture 120 Wrap Up

Lecture 121 Useful Resources & Links

Section 9: Understanding Delete Operations

Lecture 122 Module Introduction

Lecture 123 Understanding “deleteOne()” & “deleteMany()”

Lecture 124 Deleting All Entries in a Collection

Lecture 125 Useful Resources & Links

Section 10: Working with Indexes

Lecture 126 Module Introduction

Lecture 127 What Are Indexes & Why Do We Use Them?

Lecture 128 Adding a Single Field Index

Lecture 129 Indexes Behind the Scenes

Lecture 130 Understanding Index Restrictions

Lecture 131 Creating Compound Indexes

Lecture 132 Using Indexes for Sorting

Lecture 133 Understanding the Default Index

Lecture 134 Configuring Indexes

Lecture 135 Understanding Partial Filters

Lecture 136 Applying the Partial Index

Lecture 137 Understanding the Time-To-Live (TTL) Index

Lecture 138 Query Diagnosis & Query Planning

Lecture 139 Understanding Covered Queries

Lecture 140 How MongoDB Rejects a Plan

Lecture 141 Using Multi-Key Indexes

Lecture 142 Understanding Text Indexes

Lecture 143 Text Indexes & Sorting

Lecture 144 Creating Combined Text Indexes

Lecture 145 Using Text Indexes to Exclude Words

Lecture 146 Setting the Default Language & Using Weights

Lecture 147 Building Indexes

Lecture 148 Wrap Up

Lecture 149 Useful Resources & Links

Section 11: Working with Geospatial Data

Lecture 150 Module Introduction

Lecture 151 Adding GeoJSON Data

Lecture 152 Running Geo Queries

Lecture 153 Adding a Geospatial Index to Track the Distance

Lecture 154 Adding Additional Locations

Lecture 155 Finding Places Inside a Certain Area

Lecture 156 Finding Out If a User Is Inside a Specific Area

Lecture 157 Finding Places Within a Certain Radius

Lecture 158 Wrap Up

Lecture 159 Useful Resources & Links

Section 12: Understanding the Aggregation Framework

Lecture 160 Module Introduction

Lecture 161 What is the Aggregation Framework?

Lecture 162 Getting Started with the Aggregation Pipeline

Lecture 163 Using the Aggregation Framework

Lecture 164 Understanding the Group Stage

Lecture 165 Diving Deeper Into the Group Stage

Lecture 166 Working with $project

Lecture 167 Turning the Location Into a geoJSON Object

Lecture 168 Transforming the Birthdate

Lecture 169 Using Shortcuts for Transformations

Lecture 170 Understanding the $isoWeekYear Operator

Lecture 171 $group vs $project

Lecture 172 Pushing Elements Into Newly Created Arrays

Lecture 173 Understanding the $unwind Stage

Lecture 174 Eliminating Duplicate Values

Lecture 175 Using Projection with Arrays

Lecture 176 Getting the Length of an Array

Lecture 177 Using the $filter Operator

Lecture 178 Applying Multiple Operations to our Array

Lecture 179 Understanding $bucket

Lecture 180 Diving Into Additional Stages

Lecture 181 How MongoDB Optimizes Your Aggregation Pipelines

Lecture 182 Writing Pipeline Results Into a New Collection

Lecture 183 Working with the $geoNear Stage

Lecture 184 Wrap Up

Lecture 185 Useful Resources & Links

Section 13: Working with Numeric Data

Lecture 186 Module Introduction

Lecture 187 Number Types – An Overview

Lecture 188 MongoDB Shell & Data Types

Lecture 189 Understanding Programming Language Defaults

Lecture 190 Working with int32

Lecture 191 Working with int64

Lecture 192 Doing Maths with Floats int32s & int64s

Lecture 193 What’s Wrong with Normal Doubles?

Lecture 194 Working with Decimal 128bit

Lecture 195 Wrap Up

Lecture 196 Useful Resources & Links

Section 14: MongoDB & Security

Lecture 197 Module Introduction

Lecture 198 Understanding Role Based Access Control

Lecture 199 Roles – Examples

Lecture 200 Creating a User

Lecture 201 Built-In Roles – An Overview

Lecture 202 Assigning Roles to Users & Databases

Lecture 203 Updating & Extending Roles to Other Databases

Lecture 204 Adding SSL Transport Encryption

Lecture 205 Encryption at REST

Lecture 206 Wrap Up

Lecture 207 Useful Resources & Links

Section 15: Performance, Fault Tolerancy & Deployment

Lecture 208 Module Introduction

Lecture 209 What Influences Performance?

Lecture 210 Understanding Capped Collections

Lecture 211 What are Replica Sets?

Lecture 212 Understanding Sharding

Lecture 213 Deploying a MongoDB Server

Lecture 214 Using MongoDB Atlas

Lecture 215 Backups & Setting Alerts in MongoDB Atlas

Lecture 216 Connecting to our Cluster

Lecture 217 Wrap Up

Lecture 218 Useful Resources & Links

Section 16: Transactions

Lecture 219 Module Introduction

Lecture 220 What are Transactions?

Lecture 221 A Typical Usecase

Lecture 222 How Does a Transaction Work?

Lecture 223 Useful Resources & Links

Section 17: From Shell to Driver

Lecture 224 Module Introduction

Lecture 225 Splitting Work Between the Driver & the Shell

Lecture 226 Preparing our Project

Lecture 227 Installing Visual Studio Code

Lecture 228 Installing the Node.js Driver

Lecture 229 Connecting Node.js & the MongoDB Cluster

Lecture 230 Storing Products in the Database

Lecture 231 Storing the Price as 128bit Decimal

Lecture 232 Fetching Data From the Database

Lecture 233 Creating a More Realistic Setup

Lecture 234 Getting a Single Product

Lecture 235 Editing & Deleting Products

Lecture 236 Implementing Pagination

Lecture 237 Adding an Index

Lecture 238 Signing Users Up

Lecture 239 Adding an Index to Make the Email Unique

Lecture 240 Adding User Sign In

Lecture 241 Wrap Up

Lecture 242 Useful Resources & Links

Section 18: Introducing Stitch

Lecture 243 Module Introduction

Lecture 244 Stitch & MongoDB Realm

Lecture 245 What is Stitch?

Lecture 246 Preparations

Lecture 247 Start Using Stitch

Lecture 248 Adding Stitch to our App & Initializing It

Lecture 249 Adding Authentication

Lecture 250 Sending Data Access Rules

Lecture 251 Fetching & Converting Data

Lecture 252 Deleting Products

Lecture 253 Finding a Single Product

Lecture 254 Adding Products

Lecture 255 Updating Products

Lecture 256 Switching to User Email & Password Authentication

Lecture 257 Adding User Sign Up & Confirmation

Lecture 258 Adding User Login

Lecture 259 Rules & Real Users

Lecture 260 The Current State of Authentication

Lecture 261 Functions & Triggers

Lecture 262 Wrap Up

Lecture 263 Useful Resources & Links

Section 19: Roundup

Lecture 264 Course Roundup

Lecture 265 Course Slides

Lecture 266 Bonus: More Content!

Developers or data scientists who plan on (or are already) working with MongoDB,Everyone who’s interested in NoSQL databases,Both beginner and advanced MongoDB users who want to explore all the core features

Course Information:

Udemy | English | 17h 34m | 5.51 GB
Created by: Academind by Maximilian Schwarzmüller

You Can See More Courses in the Developer >> Greetings from

New Courses

Scroll to Top