4.71
(7 Ratings)
MongoDB – The Complete Developer’s Guide
Categories: Data Science, Machine Learning & AI
About Course
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.
What Will You 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
Course Content
1. Introduction
-
1. Introduction
02:07 -
2. What is MongoDB ?
05:36 -
3. Join the Online Learning Community
-
4. The Key MongoDB Characteristics (and how they differ from SQL Databases)
02:56 -
5. Understanding the MongoDB Ecosystem
04:19 -
6. Installing MongoDB
10:36 -
7. MongoDB Installation FAQ + Support
-
8. Time To Get Started!
05:37 -
9. Shell vs Drivers
03:29 -
10. MongoDB + Clients The Big Picture
02:58 -
11. Course Outline
04:39 -
12. How To Get The Most Out Of The Course
02:30
2. Understanding the Basics & CRUD Operations
-
1. Module Introduction
01:31 -
2. Understanding Databases, Collections & Documents
03:47 -
3. The Shell & MongoDB Drivers for Different Languages
02:41 -
4. Creating Databases & Collections
03:16 -
5. Understanding JSON Data
04:06 -
6. Comparing JSON & BSON
05:23 -
7. Create, Read, Update, Delete (CRUD) & MongoDB
05:38 -
8. Finding, Inserting, Deleting & Updating Elements
07:47 -
9. Understanding insertMany()
01:48 -
10. Diving Deeper Into Finding Data
03:55 -
11. update vs updateMany()
04:41 -
12. Understanding find() & the Cursor Object
07:30 -
13. Understanding Projection
03:38 -
14. Embedded Documents & Arrays – The Theory
01:56 -
15. Working with Embedded Documents
02:28 -
16. Working with Arrays
01:43 -
17. Accessing Structured Data
04:39 -
18. Assignment 1 Time to Practice – The Basics & CRUD Operations Explanation Video
02:38 -
Assignment 1: Time to Practice – The Basics & CRUD Operations
-
Assignment 1 Solution
06:58 -
19. Wrap Up
02:48 -
20. Useful Resources & Links
3. Schemas & Relations How to Structure Documents
-
1. Resetting Your Database
-
2. Module Introduction
02:13 -
3. Why Do We Use Schemas
03:58 -
4. Structuring Documents
07:43 -
5. Data Types – An Overview
06:23 -
6. Data Types in Action
12:16 -
7. Data Types & Limits
-
8. How to Derive your Data Structure – Requirements
05:08 -
9. Understanding Relations
02:58 -
10. One To One Relations – Embedded
06:20 -
11. One To One – Using References
04:54 -
12. One To Many – Embedded
05:08 -
13. One To Many – Using References
04:05 -
14. Many To Many – Embedded
07:17 -
15. Many To Many – Using References
05:25 -
16. Summarizing Relations
02:18 -
17. Using lookUp() for Merging Reference Relations
04:36 -
18. Planning the Example Exercise
06:57 -
19. Implementing the Example Exercise
04:16 -
20. Understanding Schema Validation
02:58 -
21. Adding Collection Document Validation
09:07 -
22. Changing the Validation Action
03:44 -
23. Wrap Up
04:08 -
24. Useful Resources & Links
4. Exploring The Shell & The Server
-
1. Module Introduction
01:02 -
2. Finding Available Options
02:16 -
3. Setting dbpath & logpath
04:42 -
4. Exploring the MongoDB Options
02:01 -
5. MongoDB as a Background Service
03:09 -
6. Using a Config File
03:03 -
7. Shell Options & Help
04:13 -
8. Useful Resources & Links
5. Using the MongoDB Compass to Explore Data Visually
-
1. Module Introduction
00:50 -
2. Exploring the MongoDB Compass
05:51 -
3. Useful Resources & Links
6. Diving Into Create Operations
-
1. Module Introduction
01:13 -
2. Creating Documents – An Overview
01:48 -
3. Understanding insert() Methods
06:11 -
4. Working with Ordered Inserts
07:47 -
5. Understanding the writeConcern
05:44 -
6. The writeConcern in Practice
04:10 -
7. What is Atomicity ?
02:40 -
8. Assignment 2 Time to Practice Create Operations Explanation Video
01:35 -
Assignment 2: Time to Practice Create Operations
-
Assignment 2 Solution
05:24 -
9. Importing Data
03:38 -
10. Wrap Up
02:39 -
11. Useful Resources & Links
7. Read Operations – A Closer Look
-
1. Module Introduction
01:02 -
2. Methods, Filters & Operators
02:55 -
3. Operators – An Overview
03:03 -
4. Query Selectors & Projection Operators
01:17 -
5. Understanding findOne() & find()
04:33 -
6. Working with Comparison Operators
05:21 -
7. Querying Embedded Fields & Arrays
04:52 -
8. Understanding $in and $nin
02:37 -
9. $or and $nor
05:32 -
10. Understanding the $and Operator
05:04 -
11. Using $not
01:35 -
12. Diving Into Element Operators
05:31 -
13. Working with $type
02:52 -
14. Understanding Evaluation Operators – $regex
03:24 -
15. Understanding Evaluation Operators – $expr
09:38 -
16. Assignment 3: Time to Practice – Read Operations Explanation Video
01:23 -
Assignment 3: Time to Practice – Read Operations
-
Assignment 3 Solution
06:35 -
17. Diving Deeper Into Querying Arrays
04:10 -
18. Using Array Query Selectors – $size
02:10 -
19. Using Array Query Selectors – $all
02:13 -
20. Using Array Query Selectors – $elemMatch
04:53 -
21. Assignment 4: Time to Practice – Array Query Selectors Explanation Video
01:12 -
Assignment 4: Time to Practice – Array Query Selectors
-
Assignment 4 Solution
04:08 -
22. Understanding Cursors
02:48 -
23. Applying Cursors
06:02 -
24. Sorting Cursor Results
03:10 -
25. Skipping & Limiting Cursor Results
03:32 -
26. Using Projection to Shape our Results
04:02 -
27. Using Projection in Arrays
05:12 -
28. Understanding $slice
03:06 -
29. Useful Resources & Links
8. Update Operations
-
1. Module Introduction
01:41 -
2. Updating Fields with updateOne(), updateMany() and $set
07:53 -
3. Updating Multiple Fields with $set
01:41 -
4. Incrementing & Decrementing Values
03:34 -
5. Using $min, $max and $mul
03:16 -
6. Getting Rid of Fields
02:05 -
7. Renaming Fields
01:21 -
8. Understanding upsert()
04:01 -
9. Assignment 5: Time to Practice – Update Operations Explanation Video
01:29 -
Assignment 5: Time to Practice – Update Operations
-
Assignment 5 Solution
04:43 -
10. Updating Matched Array Elements
06:57 -
11. Updating All Array Elements
06:27 -
12. Finding & Updating Specific Fields
05:35 -
13. Adding Elements to Arrays
04:47 -
14. Removing Elements from Arrays
02:34 -
15. Understanding $addToSet
01:19 -
16. Wrap Up
01:39 -
17. Useful Resources & Links
9. Understanding Delete Operations
-
1. Module Introduction
00:31 -
2. Understanding deleteOne() & deleteMany()
04:09 -
3. Deleting All Entries in a Collection
02:01 -
4. Useful Resources & Links
10. Working with Indexes
-
1. Module Introduction
01:20 -
2. What Are Indexes & Why Do We Use Them
04:19 -
3. Adding a Single Field Index
08:07 -
4. Indexes Behind the Scenes
-
5. Understanding Index Restrictions
02:51 -
6. Creating Compound Indexes
07:14 -
7. Using Indexes for Sorting
02:26 -
8. Understanding the Default Index
00:59 -
9. Configuring Indexes
02:29 -
10. Understanding Partial Filters
06:07 -
11. Applying the Partial Index
03:37 -
12. Understanding the Time-To-Live (TTL) Index
03:56 -
13. Query Diagnosis & Query Planning
02:10 -
14. Understanding Covered Queries
03:34 -
15. How MongoDB Rejects a Plan
07:38 -
16. Using Multi-Key Indexes
08:16 -
17. Understanding Text Indexes
06:10 -
18. Text Indexes & Sorting
02:22 -
19. Creating Combined Text Indexes
02:54 -
20. Using Text Indexes to Exclude Words
00:54 -
21. Setting the Default Language & Using Weights
06:32 -
22. Building Indexes
07:40 -
23. Wrap Up
02:25 -
24. Useful Resources & Links
11. Working with Geospatial Data
-
1. Module Introduction
00:53 -
2. Adding GeoJSON Data
04:52 -
3. Running Geo Queries
03:23 -
4. Adding a Geospatial Index to Track the Distance
02:52 -
5. Adding Additional Locations
03:35 -
6. Finding Places Inside a Certain Area
06:22 -
7. Finding Out If a User Is Inside a Specific Area
05:27 -
8. Finding Places Within a Certain Radius
05:38 -
9. Assignment 6: Time to Practice – Geospatial Data Explanation Video
02:29 -
Assignment 6: Time to Practice – Geospatial Data
-
Assignment 6 Solution
13:39 -
10. Wrap Up
01:40 -
11. Useful Resources & Links
12. Understanding the Aggregation Framework
-
1. Module Introduction
01:34 -
2. What is the Aggregation Framework
02:00 -
3. Getting Started with the Aggregation Pipeline
01:21 -
4. Using the Aggregation Framework
03:13 -
5. Understanding the Group Stage
05:57 -
6. Diving Deeper Into the Group Stage
03:12 -
7. Assignment 7: Time to Practice – The Aggregation Framework Explanation Video
01:04 -
Assignment 7: Time to Practice – The Aggregation Framework
-
Assignment 7 Solution
04:02 -
8. Working with $project
09:59 -
9. Turning the Location Into a geoJSON Object
07:59 -
10. Transforming the Birthdate
03:48 -
11. Using Shortcuts for Transformations
01:26 -
12. Understanding the $isoWeekYear Operator
02:41 -
13. $group vs $project
00:55 -
14. Pushing Elements Into Newly Created Arrays
04:04 -
15. Understanding the $unwind Stage
02:50 -
16. Eliminating Duplicate Values
00:50 -
17. Using Projection with Arrays
03:04 -
18. Getting the Length of an Array
01:12 -
19. Using the $filter Operator
04:44 -
20. Applying Multiple Operations to our Array
07:31 -
21. Understanding $bucket
06:17 -
22. Diving Into Additional Stages
07:29 -
23. How MongoDB Optimizes Your Aggregation Pipelines
-
24. Writing Pipeline Results Into a New Collection
01:47 -
25. Working with the $geoNear Stage
05:16 -
26. Wrap Up
02:42 -
27. Useful Resources & Links
13. Working with Numeric Data
-
1. Module Introduction
00:55 -
2. Number Types – An Overview
06:29 -
3. MongoDB Shell & Data Types
-
4. Understanding Programming Language Defaults
03:33 -
5. Working with int32
05:18 -
6. Working with int64
06:33 -
7. Doing Maths with Floats int32s & int64s
06:57 -
8. What’s Wrong with Normal Doubles
04:21 -
9. Working with Decimal 128bit
04:14 -
10. Wrap Up
01:41 -
11. Useful Resources & Links
14. MongoDB & Security
-
1. Module Introduction
04:24 -
2. Understanding Role Based Access Control
06:48 -
3. Roles – Examples
02:14 -
4. Creating a User
05:51 -
5. Built-In Roles – An Overview
05:40 -
6. Assigning Roles to Users & Databases
04:49 -
7. Updating & Extending Roles to Other Databases
05:07 -
Assignment 8: 8. Time to Practice – Security Explanation Video
01:32 -
Assignment 8: Time to Practice – Security
-
Assignment 8 Solution
06:42 -
9. Adding SSL Transport Encryption
10:21 -
10. Encryption at REST
01:25 -
11. Wrap Up
03:21 -
12. Useful Resources & Links
15. Performance, Fault Tolerancy & Deployment
-
1. Module Introduction
01:53 -
2. What Influences Performance
03:01 -
3. Understanding Capped Collections
05:05 -
4. What are Replica Sets
04:36 -
5. Understanding Sharding
06:14 -
6. Deploying a MongoDB Server
02:25 -
7. Using MongoDB Atlas
09:18 -
8. Backups & Setting Alerts in MongoDB Atlas
01:27 -
9. Connecting to our Cluster
03:36 -
10. Wrap Up
01:58 -
11. Useful Resources & Links
16. Transactions
-
1. Module Introduction
01:05 -
2. What are Transactions
02:03 -
3. A Typical Usecase
02:18 -
4. How Does a Transaction Work
07:42 -
5. Useful Resources & Links
17. From Shell to Driver
-
1. Module Introduction
01:42 -
2. Splitting Work Between the Driver & the Shell
02:06 -
3. Preparing our Project
04:50 -
4. Installing Visual Studio Code
01:47 -
5. Installing the Node.js Driver
04:57 -
6. Connecting Node.js & the MongoDB Cluster
06:32 -
7. Storing Products in the Database
04:54 -
8. Storing the Price as 128bit Decimal
06:10 -
9. Fetching Data From the Database
06:23 -
10. Creating a More Realistic Setup
11:48 -
11. Getting a Single Product
03:20 -
12. Editing & Deleting Products
07:29 -
13. Implementing Pagination
04:59 -
14. Adding an Index
01:28 -
15. Signing Users Up
07:03 -
16. Adding an Index to Make the Email Unique
01:13 -
17. Adding User Sign In
05:19 -
18. Wrap Up
01:11 -
19. Useful Resources & Links
18. Introducing Stitch
-
1. Module Introduction
02:14 -
2. What is Stitch
07:23 -
3. Preparations
02:05 -
4. Start Using Stitch
04:34 -
5. Adding Stitch to our App & Initializing It
08:11 -
6. Adding Authentication
02:48 -
7. Sending Data Access Rules
03:58 -
8. Fetching & Converting Data
01:49 -
9. Deleting Products
03:03 -
10. Finding a Single Product
04:10 -
11. Adding Products
03:29 -
12. Updating Products
03:47 -
13. Switching to User Email & Password Authentication
01:55 -
14. Adding User Sign Up & Confirmation
06:32 -
15. Adding User Login
03:43 -
16. Rules & Real Users
01:49 -
17. The Current State of Authentication
-
18. Functions & Triggers
05:02 -
19. Wrap Up
00:57 -
20. Useful Resources & Links
19. Roundup
-
1. Course Roundup
03:06 -
2. Course Slides
Earn a certificate
Add this certificate to your resume to demonstrate your skills & increase your chances of getting noticed.
Student Ratings & Reviews
4.7
Total 7 Ratings
5
5 Ratings
4
2 Ratings
3
0 Rating
2
0 Rating
1
0 Rating
Great course!