MongoDB – The Complete Developer’s Guide 2023

MongoDB – The Complete Developer’s Guide 2023

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 266 lectures (17h 34m) | 5.55 GB

Master MongoDB Development for Web & Mobile Apps. CRUD Operations, Indexes, Aggregation Framework – All about MongoDB!

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.

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
Table of Contents

Introduction
1 Introduction
2 What is MongoDB
3 Join our Online Learning Community
4 The Key MongoDB Characteristics and how they differ from SQL Databases
5 Understanding the MongoDB Ecosystem
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
11 Shell vs Drivers
12 MongoDB Clients The Big Picture
13 Course Outline
14 How To Get The Most Out Of The Course

Understanding the Basics CRUD Operations
15 Module Introduction
16 Understanding Databases Collections Documents
17 The Shell MongoDB Drivers for Different Languages
18 Creating Databases Collections
19 Understanding JSON Data
20 Comparing JSON BSON
21 Create Read Update Delete CRUD MongoDB
22 Finding Inserting Deleting Updating Elements
23 Understanding insertMany
24 Diving Deeper Into Finding Data
25 update vs updateMany
26 Understanding find the Cursor Object
27 Understanding Projection
28 Embedded Documents Arrays The Theory
29 Working with Embedded Documents
30 Working with Arrays
31 Accessing Structured Data
32 Wrap Up
33 Useful Resources Links

Schemas Relations How to Structure Documents
34 Resetting Your Database
35 Module Introduction
36 Why Do We Use Schemas
37 Structuring Documents
38 Data Types An Overview
39 Data Types in Action
40 Data Types Limits
41 How to Derive your Data Structure Requirements
42 Understanding Relations
43 One To One Relations Embedded
44 One To One Using References
45 One To Many Embedded
46 One To Many Using References
47 Many To Many Embedded
48 Many To Many Using References
49 Summarizing Relations
50 Using lookUp for Merging Reference Relations
51 Planning the Example Exercise
52 Implementing the Example Exercise
53 Understanding Schema Validation
54 Adding Collection Document Validation
55 Changing the Validation Action
56 Wrap Up
57 Useful Resources Links

Exploring The Shell The Server
58 Module Introduction
59 Finding Available Options
60 Setting dbpath logpath
61 Exploring the MongoDB Options
62 MongoDB as a Background Service
63 Using a Config File
64 Shell Options Help
65 Useful Resources Links

Using the MongoDB Compass to Explore Data Visually
66 Module Introduction
67 Exploring the MongoDB Compass
68 Useful Resources Links

Diving Into Create Operations
69 Module Introduction
70 Creating Documents An Overview
71 Understanding insert Methods
72 Working with Ordered Inserts
73 Understanding the writeConcern
74 The writeConcern in Practice
75 What is Atomicity
76 Importing Data
77 Wrap Up
78 Useful Resources Links

Read Operations A Closer Look
79 Module Introduction
80 Methods Filters Operators
81 Operators An Overview
82 Query Selectors Projection Operators
83 Understanding findOne find
84 Working with Comparison Operators
85 Querying Embedded Fields Arrays
86 Understanding in and nin
87 or and nor
88 Understanding the and Operator
89 Using not
90 Diving Into Element Operators
91 Working with type
92 Understanding Evaluation Operators regex
93 Understanding Evaluation Operators expr
94 Diving Deeper Into Querying Arrays
95 Using Array Query Selectors size
96 Using Array Query Selectors all
97 Using Array Query Selectors elemMatch
98 Understanding Cursors
99 Applying Cursors
100 Sorting Cursor Results
101 Skipping Limiting Cursor Results
102 Using Projection to Shape our Results
103 Using Projection in Arrays
104 Understanding slice
105 Useful Resources Links

Update Operations
106 Module Introduction
107 Updating Fields with updateOne updateMany and set
108 Updating Multiple Fields with set
109 Incrementing Decrementing Values
110 Using min max and mul
111 Getting Rid of Fields
112 Renaming Fields
113 Understanding upsert
114 Updating Matched Array Elements
115 Updating All Array Elements
116 Finding Updating Specific Fields
117 Adding Elements to Arrays
118 Removing Elements from Arrays
119 Understanding addToSet
120 Wrap Up
121 Useful Resources Links

Understanding Delete Operations
122 Module Introduction
123 Understanding deleteOne deleteMany
124 Deleting All Entries in a Collection
125 Useful Resources Links

Working with Indexes
126 Module Introduction
127 What Are Indexes Why Do We Use Them
128 Adding a Single Field Index
129 Indexes Behind the Scenes
130 Understanding Index Restrictions
131 Creating Compound Indexes
132 Using Indexes for Sorting
133 Understanding the Default Index
134 Configuring Indexes
135 Understanding Partial Filters
136 Applying the Partial Index
137 Understanding the TimeToLive TTL Index
138 Query Diagnosis Query Planning
139 Understanding Covered Queries
140 How MongoDB Rejects a Plan
141 Using MultiKey Indexes
142 Understanding Text Indexes
143 Text Indexes Sorting
144 Creating Combined Text Indexes
145 Using Text Indexes to Exclude Words
146 Setting the Default Language Using Weights
147 Building Indexes
148 Wrap Up
149 Useful Resources Links

Working with Geospatial Data
150 Module Introduction
151 Adding GeoJSON Data
152 Running Geo Queries
153 Adding a Geospatial Index to Track the Distance
154 Adding Additional Locations
155 Finding Places Inside a Certain Area
156 Finding Out If a User Is Inside a Specific Area
157 Finding Places Within a Certain Radius
158 Wrap Up
159 Useful Resources Links

Understanding the Aggregation Framework
160 Module Introduction
161 What is the Aggregation Framework
162 Getting Started with the Aggregation Pipeline
163 Using the Aggregation Framework
164 Understanding the Group Stage
165 Diving Deeper Into the Group Stage
166 Working with project
167 Turning the Location Into a geoJSON Object
168 Transforming the Birthdate
169 Using Shortcuts for Transformations
170 Understanding the isoWeekYear Operator
171 group vs project
172 Pushing Elements Into Newly Created Arrays
173 Understanding the unwind Stage
174 Eliminating Duplicate Values
175 Using Projection with Arrays
176 Getting the Length of an Array
177 Using the filter Operator
178 Applying Multiple Operations to our Array
179 Understanding bucket
180 Diving Into Additional Stages
181 How MongoDB Optimizes Your Aggregation Pipelines
182 Writing Pipeline Results Into a New Collection
183 Working with the geoNear Stage
184 Wrap Up
185 Useful Resources Links

Working with Numeric Data
186 Module Introduction
187 Number Types An Overview
188 MongoDB Shell Data Types
189 Understanding Programming Language Defaults
190 Working with int32
191 Working with int64
192 Doing Maths with Floats int32s int64s
193 Whats Wrong with Normal Doubles
194 Working with Decimal 128bit
195 Wrap Up
196 Useful Resources Links

MongoDB Security
197 Module Introduction
198 Understanding Role Based Access Control
199 Roles Examples
200 Creating a User
201 BuiltIn Roles An Overview
202 Assigning Roles to Users Databases
203 Updating Extending Roles to Other Databases
204 Adding SSL Transport Encryption
205 Encryption at REST
206 Wrap Up
207 Useful Resources Links

Performance Fault Tolerancy Deployment
208 Module Introduction
209 What Influences Performance
210 Understanding Capped Collections
211 What are Replica Sets
212 Understanding Sharding
213 Deploying a MongoDB Server
214 Using MongoDB Atlas
215 Backups Setting Alerts in MongoDB Atlas
216 Connecting to our Cluster
217 Wrap Up
218 Useful Resources Links

Transactions
219 Module Introduction
220 What are Transactions
221 A Typical Usecase
222 How Does a Transaction Work
223 Useful Resources Links

From Shell to Driver
224 Module Introduction
225 Splitting Work Between the Driver the Shell
226 Preparing our Project
227 Installing Visual Studio Code
228 Installing the Nodejs Driver
229 Connecting Nodejs the MongoDB Cluster
230 Storing Products in the Database
231 Storing the Price as 128bit Decimal
232 Fetching Data From the Database
233 Creating a More Realistic Setup
234 Getting a Single Product
235 Editing Deleting Products
236 Implementing Pagination
237 Adding an Index
238 Signing Users Up
239 Adding an Index to Make the Email Unique
240 Adding User Sign In
241 Wrap Up
242 Useful Resources Links

Introducing Stitch
243 Module Introduction
244 Stitch MongoDB Realm
245 What is Stitch
246 Preparations
247 Start Using Stitch
248 Adding Stitch to our App Initializing It
249 Adding Authentication
250 Sending Data Access Rules
251 Fetching Converting Data
252 Deleting Products
253 Finding a Single Product
254 Adding Products
255 Updating Products
256 Switching to User Email Password Authentication
257 Adding User Sign Up Confirmation
258 Adding User Login
259 Rules Real Users
260 The Current State of Authentication
261 Functions Triggers
262 Wrap Up
263 Useful Resources Links

Roundup
264 Course Roundup
265 Course Slides
266 Bonus More Content

Homepage