MongoDB - The Complete Developer's Guide
Master MongoDB Development for Web & Mobile Apps. CRUD Operations, Indexes, Aggregation Framework - All about MongoDB!
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. 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.
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 alternative
This 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.
Khu vực Câu hỏi thường gặp trống
Introduction
Xem trướcWhat is MongoDB?
Xem trướcThe Key MongoDB Characteristics (and how they differ from SQL Databases)
Xem trướcUnderstanding the MongoDB Ecosystem
Xem trướcGeneral Setup Instructions & Installing MongoDB on macOS
Xem trướcInstalling MongoDB on Windows
Installing the MongoDB Shell
Xem trướcTime To Get Started!
Xem trướcShell vs Drivers
MongoDB + Clients: The Big Picture
Course Outline
How To Get The Most Out Of The Course
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
Wrap Up
Module Introduction
Why Do We Use Schemas?
Structuring Documents
Data Types - An Overview
Data Types in Action
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
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"
Diving Deeper Into Querying Arrays
Using Array Query Selectors - "$size"
Using Array Query Selectors - "$all"
Using Array Query Selectors - "$elemMatch"
Understanding Cursors
Applying Cursors
Sorting Cursor Results
Skipping & Limiting Cursor Results
Using Projection to Shape our Results
Using Projection in Arrays
Understanding "$slice"
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()"
Updating Matched Array Elements
Updating All Array Elements
Finding & Updating Specific Fields
Adding Elements to Arrays
Removing Elements from Arrays
Understanding "$addToSet"
Wrap Up
Module Introduction
What Are Indexes & Why Do We Use Them?
Adding a Single Field Index
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
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
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
Writing Pipeline Results Into a New Collection
Working with the $geoNear Stage
Wrap Up
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
Module Introduction
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
Functions & Triggers
Wrap Up
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!
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