MongoDB – The Complete Developer’s Guide 2021

MongoDB – The Complete Developer’s Guide 2021

English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 17 Hours | 5.63 GB

Master MongoDB Development for Web & Mobile Apps. CRUD Operations, Indexes, Aggregation Framework – All about MongoDB! 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
  • Use MongoDB to its full potential in future projects
  • 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 Installing MongoDB
7 MongoDB Installation FAQ + Support
8 Time To Get Started!
9 Shell vs Drivers
10 MongoDB + Clients The Big Picture
11 Course Outline
12 How To Get The Most Out Of The Course

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

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

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

Using the MongoDB Compass to Explore Data Visually
64 Module Introduction
65 Exploring the MongoDB Compass
66 Useful Resources & Links

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

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

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

Understanding Delete Operations
120 Module Introduction
121 Understanding deleteOne() & deleteMany()
122 Deleting All Entries in a Collection
123 Useful Resources & Links

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

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

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

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

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

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

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

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

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

Roundup
263 Course Roundup
264 Course Slides
265 Bonus More Content!