Course Highlights
  • 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
Curriculum

14 Topics
Introduction
What is MongoDB?
Join our Online Learning Community
The Key MongoDB Characteristics (and how they differ from SQL Databases)
Understanding the MongoDB Ecosystem
General Setup Instructions & Installing MongoDB on macOS
Installing MongoDB on Windows
Installing the MongoDB Shell
Installing mongoimport
Time To Get Started!
Shell vs Drivers
MongoDB + Clients: The Big Picture
Course Outline
How To Get The Most Out Of The Course

20 Topics
Module Introduction
Understanding Databases Collections & Documents
The Shell & MongoDB Drivers for Different Languages
Creating Databases & Collections
Understanding JSON Data
Comparing JSON & BSON
Create Read Update Delete (CRUD) & MongoDB
Finding Inserting Deleting & Updating Elements
Understanding "insertMany()"
Diving Deeper Into Finding Data
"update" vs "updateMany()"
Understanding "find()" & the Cursor Object
Understanding Projection
Embedded Documents & Arrays - The Theory
Working with Embedded Documents
Working with Arrays
Accessing Structured Data
Time to Practice - The Basics & CRUD Operations
Wrap Up
Useful Resources & Links

24 Topics
Resetting Your Database
Module Introduction
Why Do We Use Schemas?
Structuring Documents
Data Types - An Overview
Data Types in Action
Data Types & Limits
How to Derive your Data Structure - Requirements
Understanding Relations
One To One Relations - Embedded
One To One - Using References
One To Many - Embedded
One To Many - Using References
Many To Many - Embedded
Many To Many - Using References
Summarizing Relations
Using "lookUp()" for Merging Reference Relations
Planning the Example Exercise
Implementing the Example Exercise
Understanding Schema Validation
Adding Collection Document Validation
Changing the Validation Action
Wrap Up
Useful Resources & Links

8 Topics
Module Introduction
Finding Available Options
Setting "dbpath" & "logpath"
Exploring the MongoDB Options
MongoDB as a Background Service
Using a Config File
Shell Options & Help
Useful Resources & Links

3 Topics
Module Introduction
Exploring the MongoDB Compass
Useful Resources & Links

11 Topics
Module Introduction
Creating Documents - An Overview
Understanding "insert()" Methods
Working with Ordered Inserts
Understanding the "writeConcern"
The "writeConcern" in Practice
What is Atomicity?
Time to Practice - Create Operations
Importing Data
Wrap Up
Useful Resources & Links

29 Topics
Module Introduction
Methods Filters & Operators
Operators - An Overview
Query Selectors & Projection Operators
Understanding "findOne()" & "find()"
Working with Comparison Operators
Querying Embedded Fields & Arrays
Understanding "$in" and "$nin"
"$or" and "$nor"
Understanding the "$and" Operator
Using "$not"
Diving Into Element Operators
Working with "$type"
Understanding Evaluation Operators - "$regex"
Understanding Evaluation Operators - "$expr"
Time to Practice - Read Operations
Diving Deeper Into Querying Arrays
Using Array Query Selectors - "$size"
Using Array Query Selectors - "$all"
Using Array Query Selectors - "$elemMatch"
Time to Practice - Array Query Selectors
Understanding Cursors
Applying Cursors
Sorting Cursor Results
Skipping & Limiting Cursor Results
Using Projection to Shape our Results
Using Projection in Arrays
Understanding "$slice"
Useful Resources & Links

17 Topics
Module Introduction
Updating Fields with "updateOne()" "updateMany()" and "$set"
Updating Multiple Fields with "$set"
Incrementing & Decrementing Values
Using "$min" "$max" and "$mul"
Getting Rid of Fields
Renaming Fields
Understanding "upsert()"
Time to Practice - Update Operations
Updating Matched Array Elements
Updating All Array Elements
Finding & Updating Specific Fields
Adding Elements to Arrays
Removing Elements from Arrays
Understanding "$addToSet"
Wrap Up
Useful Resources & Links

4 Topics
Module Introduction
Understanding "deleteOne()" & "deleteMany()"
Deleting All Entries in a Collection
Useful Resources & Links

24 Topics
Module Introduction
What Are Indexes & Why Do We Use Them?
Adding a Single Field Index
Indexes Behind the Scenes
Understanding Index Restrictions
Creating Compound Indexes
Using Indexes for Sorting
Understanding the Default Index
Configuring Indexes
Understanding Partial Filters
Applying the Partial Index
Understanding the Time-To-Live (TTL) Index
Query Diagnosis & Query Planning
Understanding Covered Queries
How MongoDB Rejects a Plan
Using Multi-Key Indexes
Understanding Text Indexes
Text Indexes & Sorting
Creating Combined Text Indexes
Using Text Indexes to Exclude Words
Setting the Default Language & Using Weights
Building Indexes
Wrap Up
Useful Resources & Links

11 Topics
Module Introduction
Adding GeoJSON Data
Running Geo Queries
Adding a Geospatial Index to Track the Distance
Adding Additional Locations
Finding Places Inside a Certain Area
Finding Out If a User Is Inside a Specific Area
Finding Places Within a Certain Radius
Time to Practice - Geospatial Data
Wrap Up
Useful Resources & Links

27 Topics
Module Introduction
What is the Aggregation Framework?
Getting Started with the Aggregation Pipeline
Using the Aggregation Framework
Understanding the Group Stage
Diving Deeper Into the Group Stage
Time to Practice - The Aggregation Framework
Working with $project
Turning the Location Into a geoJSON Object
Transforming the Birthdate
Using Shortcuts for Transformations
Understanding the $isoWeekYear Operator
$group vs $project
Pushing Elements Into Newly Created Arrays
Understanding the $unwind Stage
Eliminating Duplicate Values
Using Projection with Arrays
Getting the Length of an Array
Using the $filter Operator
Applying Multiple Operations to our Array
Understanding $bucket
Diving Into Additional Stages
How MongoDB Optimizes Your Aggregation Pipelines
Writing Pipeline Results Into a New Collection
Working with the $geoNear Stage
Wrap Up
Useful Resources & Links

11 Topics
Module Introduction
Number Types - An Overview
MongoDB Shell & Data Types
Understanding Programming Language Defaults
Working with int32
Working with int64
Doing Maths with Floats int32s & int64s
What's Wrong with Normal Doubles?
Working with Decimal 128bit
Wrap Up
Useful Resources & Links

12 Topics
Module Introduction
Understanding Role Based Access Control
Roles - Examples
Creating a User
Built-In Roles - An Overview
Assigning Roles to Users & Databases
Updating & Extending Roles to Other Databases
Time to Practice - Security
Adding SSL Transport Encryption
Encryption at REST
Wrap Up
Useful Resources & Links

11 Topics
Module Introduction
What Influences Performance?
Understanding Capped Collections
What are Replica Sets?
Understanding Sharding
Deploying a MongoDB Server
Using MongoDB Atlas
Backups & Setting Alerts in MongoDB Atlas
Connecting to our Cluster
Wrap Up
Useful Resources & Links

5 Topics
Module Introduction
What are Transactions?
A Typical Usecase
How Does a Transaction Work?
Useful Resources & Links

19 Topics
Module Introduction
Splitting Work Between the Driver & the Shell
Preparing our Project
Installing Visual Studio Code
Installing the Node.js Driver
Connecting Node.js & the MongoDB Cluster
Storing Products in the Database
Storing the Price as 128bit Decimal
Fetching Data From the Database
Creating a More Realistic Setup
Getting a Single Product
Editing & Deleting Products
Implementing Pagination
Adding an Index
Signing Users Up
Adding an Index to Make the Email Unique
Adding User Sign In
Wrap Up
Useful Resources & Links

21 Topics
Module Introduction
Stitch & MongoDB Realm
What is Stitch?
Preparations
Start Using Stitch
Adding Stitch to our App & Initializing It
Adding Authentication
Sending Data Access Rules
Fetching & Converting Data
Deleting Products
Finding a Single Product
Adding Products
Updating Products
Switching to User Email & Password Authentication
Adding User Sign Up & Confirmation
Adding User Login
Rules & Real Users
The Current State of Authentication
Functions & Triggers
Wrap Up
Useful Resources & Links

3 Topics
Course Roundup
Course Slides
Bonus: More Content!

  Write a Review

MongoDB - The Complete Developer's Guide 2024

Go to Paid Course