Cours Academind Pro
MongoDB - The Complete Developer's Guide
Master MongoDB Development for Web & Mobile Apps. CRUD Operations, Indexes, Aggregation Framework - All about MongoDB!
- 19 sections · 276 leçons
- 17 h et 31 min au total
À propos de ce cours
You know you need to store and query data—but MongoDB can feel like a wall of new concepts: documents, collections, and a query syntax that doesn’t look like SQL. If you’ve ever wondered “where do I even start?” you’re in the right place.
This course walks you through MongoDB step by step with lots of practical command- and code-based examples. You’ll work locally and in the cloud, and you’ll see a consistent way of interacting with MongoDB that you can apply no matter which programming language you use.
By the end, you’ll be able to confidently choose how to structure data, retrieve exactly what you need, and keep your database work fast as your app grows. You’ll also know how to use MongoDB’s built-in tooling to handle real-world data tasks without turning your project into a performance bottleneck.
Ce que vous allez apprendre
You’ll cover MongoDB’s full day-to-day workflow—local + Atlas setup, querying, performance tuning, and the core platform features teams rely on in production.
- 01
Model document data
Explain what a document database is and organize data the MongoDB way. You’ll be able to decide how to structure documents and collections so your data stays flexible without becoming messy.
- 02
Run CRUD operations
Create, read, update, and delete data in MongoDB databases with confidence. You’ll know how to change records safely and retrieve the right documents when your app needs them.
- 03
Write complex queries
Build advanced queries that go beyond the basics, using practical examples as a guide. You’ll be able to filter efficiently and shape results so you get data back in the format you need.
- 04
Optimize with indexes
Increase query performance by adding indexes and choosing the right ones for your access patterns. You’ll be able to spot when a query is slow and apply indexing to fix it.
- 05
Use Aggregation Framework
Create powerful data pipelines with MongoDB’s Aggregation Framework to transform and compute results. You’ll be able to produce aggregated outputs that would otherwise require extra application-side processing.
- 06
Work across environments
Install and use MongoDB locally and in the cloud with MongoDB Atlas, and interact via the Mongo Shell and drivers like the Node.js driver. You’ll also understand where replica sets, sharding, and Stitch fit in.
Prérequis
No prior database knowledge is required—this course starts from scratch.
General web or mobile development experience helps, but it’s not mandatory.
Any operating system works: Windows, macOS, or Linux.
À qui s’adresse ce cours
New MongoDB users
You’ve heard MongoDB is widely used, but you’re not sure how document databases actually work in practice. You want a clear path that turns “NoSQL concepts” into something you can use immediately.
App developers
You build web, mobile, or desktop apps and need a database that fits modern product requirements. You want to feel confident choosing MongoDB and using it effectively in your next project.
SQL-first builders
You’ve mainly worked with SQL databases and want to explore the most popular NoSQL alternative without getting lost. You’re looking for a practical, developer-focused guide—not a server administration manual.
Programme
Découvrez la structure et le rythme de ce cours avant de commencer.
1Getting Started15 leçons · 1 h et 4 min
- 01Introduction2:04 min
- 02What is MongoDB?5:36 min
- 03The Key MongoDB Characteristics (and how they differ from SQL Databases)2:55 min
- 04Join our Online Learning Community0:00 min
- 05Understanding the MongoDB Ecosystem4:19 min
- 06General Setup Instructions & macOS Installation16:52 min
- 07Windows Installation8:10 min
- 08Installing The MongoDB Shell5:10 min
- 09Installing "mongoimport"0:00 min
- 10Time To Get Started!5:37 min
- 11Shell vs Drivers3:29 min
- 12MongoDB + Clients: The Big Picture2:58 min
- 13Course Outline4:38 min
- 14How To Get The Most Out Of The Course2:30 min
- 15The Academind Pro Referral Program0:00 min
2Understanding the Basics & CRUD Operations21 leçons · 1 h et 19 min
- 01Module Introduction1:30 min
- 02Understanding Databases, Collections & Documents3:47 min
- 03The Shell & MongoDB Drivers for Different Languages2:40 min
- 04Creating Databases & Collections3:16 min
- 05Understanding JSON Data4:05 min
- 06Comparing JSON & BSON5:23 min
- 07Create, Read, Update, Delete (CRUD) & MongoDB5:37 min
- 08Finding, Inserting, Deleting & Updating Elements7:47 min
- 09Understanding "insertMany()"1:48 min
- 10Diving Deeper Into Finding Data3:55 min
- 11"update" vs "updateMany()"4:41 min
- 12Understanding "find()" & the Cursor Object7:30 min
- 13Understanding Projection3:38 min
- 14Embedded Documents & Arrays - The Theory1:56 min
- 15Working with Embedded Documents2:28 min
- 16Working with Arrays1:43 min
- 17Accessing Structured Data4:39 min
- 18Assignment - The Basics & CRUD Operations (Problem)2:37 min
- 19Assignment - The Basics & CRUD Operations (Solution)6:57 min
- 20Wrap Up2:47 min
- 21Useful Resources & Links0:00 min
3Schemas & Relations: How to Structure Documents22 leçons · 1 h et 52 min
- 01Module Introduction2:12 min
- 02Why Do We Use Schemas?3:57 min
- 03Structuring Documents7:43 min
- 04Data Types - An Overview6:23 min
- 05Data Types in Action12:15 min
- 06How to Derive your Data Structure - Requirements5:07 min
- 07Understanding Relations2:58 min
- 08One To One Relations - Embedded6:20 min
- 09One To One - Using References4:54 min
- 10One To Many - Embedded5:07 min
- 11One To Many - Using References4:04 min
- 12Many To Many - Embedded7:16 min
- 13Many To Many - Using References5:25 min
- 14Summarizing Relations2:18 min
- 15Using "lookUp()" for Merging Reference Relations4:35 min
- 16Planning the Example Exercise6:56 min
- 17Implementing the Example Exercise4:16 min
- 18Understanding Schema Validation2:57 min
- 19Adding Collection Document Validation9:07 min
- 20Changing the Validation Action3:43 min
- 21Wrap Up4:08 min
- 22Useful Resources & Links0:00 min
4Exploring The Shell & The Server8 leçons · 20 min
- 01Module Introduction1:01 min
- 02Finding Available Options2:15 min
- 03Setting "dbpath" & "logpath"4:41 min
- 04Exploring the MongoDB Options2:00 min
- 05MongoDB as a Background Service3:09 min
- 06Using a Config File3:02 min
- 07Shell Options & Help4:12 min
- 08Useful Resources & Links0:00 min
5Using the MongoDB Compass to Explore Data Visually3 leçons · 7 min
- 01Module Introduction0:50 min
- 02Exploring the MongoDB Compass5:50 min
- 03Useful Resources & Links0:00 min
6Diving Into Create Operations12 leçons · 43 min
- 01Module Introduction1:12 min
- 02Creating Documents - An Overview1:47 min
- 03Understanding "insert()" Methods6:10 min
- 04Working with Ordered Inserts7:47 min
- 05Understanding the "writeConcern"5:44 min
- 06The "writeConcern" in Practice4:09 min
- 07What is Atomicity?2:39 min
- 08Assignment - Create Operations (Problem)1:34 min
- 09Assignment - Create Operations (Solution)5:23 min
- 10Importing Data3:37 min
- 11Wrap Up2:38 min
- 12Useful Resources & Links0:00 min
7Read Operations - A Closer Look31 leçons · 1 h et 54 min
- 01Module Introduction1:40 min
- 02Methods, Filters & Operators2:54 min
- 03Operators - An Overview3:02 min
- 04Query Selectors & Projection Operators1:16 min
- 05Understanding "findOne()" & "find()"4:32 min
- 06Working with Comparison Operators5:20 min
- 07Querying Embedded Fields & Arrays4:52 min
- 08Understanding "$in" and "$nin"2:37 min
- 09"$or" and "$nor"5:31 min
- 10Understanding the "$and" Operator5:04 min
- 11Using "$not"1:35 min
- 12Diving Into Element Operators5:30 min
- 13Working with "$type"2:52 min
- 14Understanding Evaluation Operators - "$regex"3:23 min
- 15Understanding Evaluation Operators - "$expr"9:37 min
- 16Assignment - Read Operations (Problem)1:23 min
- 17Assignment - Read Operations (Solution)6:34 min
- 18Diving Deeper Into Querying Arrays4:09 min
- 19Using Array Query Selectors - "$size"2:09 min
- 20Using Array Query Selectors - "$all"2:12 min
- 21Using Array Query Selectors - "$elemMatch"4:52 min
- 22Assignment - Array Query Selectors (Problem)1:11 min
- 23Assignment - Array Query Selectors (Solution)4:08 min
- 24Understanding Cursors2:47 min
- 25Applying Cursors6:02 min
- 26Sorting Cursor Results3:09 min
- 27Skipping & Limiting Cursor Results3:31 min
- 28Using Projection to Shape our Results4:01 min
- 29Using Projection in Arrays5:12 min
- 30Understanding "$slice"3:05 min
- 31Useful Resources & Links0:00 min
8Update Operations18 leçons · 1 h
- 01Module Introduction1:01 min
- 02Updating Fields with "updateOne()", "updateMany()" and "$set"7:52 min
- 03Updating Multiple Fields with "$set"1:40 min
- 04Incrementing & Decrementing Values3:33 min
- 05Using "$min", "$max" and "$mul"3:15 min
- 06Getting Rid of Fields2:04 min
- 07Renaming Fields1:20 min
- 08Understanding "upsert()"4:01 min
- 09Assignment - Update Operations (Problem)1:28 min
- 10Assignment - Update Operations (Solution)4:42 min
- 11Updating Matched Array Elements6:56 min
- 12Updating All Array Elements6:27 min
- 13Finding & Updating Specific Fields5:35 min
- 14Adding Elements to Arrays4:46 min
- 15Removing Elements from Arrays2:34 min
- 16Understanding "$addToSet"1:18 min
- 17Wrap Up1:39 min
- 18Useful Resources & Links0:00 min
9Understanding Delete Operations4 leçons · 7 min
- 01Module Introduction0:31 min
- 02Understanding "deleteOne()" & "deleteMany()"4:08 min
- 03Deleting All Entries in a Collection2:00 min
- 04Useful Resources & Links0:00 min
10Working with Indexes23 leçons · 1 h et 34 min
- 01Module Introduction1:19 min
- 02What Are Indexes & Why Do We Use Them?4:18 min
- 03Adding a Single Field Index8:06 min
- 04Understanding Index Restrictions2:51 min
- 05Creating Compound Indexes7:14 min
- 06Using Indexes for Sorting2:25 min
- 07Understanding the Default Index0:59 min
- 08Configuring Indexes2:28 min
- 09Understanding Partial Filters6:07 min
- 10Applying the Partial Index3:37 min
- 11Understanding the Time-To-Live (TTL) Index3:55 min
- 12Query Diagnosis & Query Planning2:10 min
- 13Understanding Covered Queries3:34 min
- 14How MongoDB Rejects a Plan7:37 min
- 15Using Multi-Key Indexes8:15 min
- 16Understanding Text Indexes6:09 min
- 17Text Indexes & Sorting2:21 min
- 18Creating Combined Text Indexes2:54 min
- 19Using Text Indexes to Exclude Words0:54 min
- 20Setting the Default Language & Using Weights6:31 min
- 21Building Indexes7:40 min
- 22Wrap Up2:24 min
- 23Useful Resources & Links0:00 min
11Working with Geospatial Data12 leçons · 51 min
- 01Module Introduction0:53 min
- 02Adding GeoJSON Data4:51 min
- 03Running Geo Queries3:22 min
- 04Adding a Geospatial Index to Track the Distance2:52 min
- 05Adding Additional Locations3:34 min
- 06Finding Places Inside a Certain Area6:22 min
- 07Finding Out If a User Is Inside a Specific Area5:27 min
- 08Finding Places Within a Certain Radius5:38 min
- 09Assignment - Geospatial Data (Problem)2:28 min
- 10Assignment - Geospatial Data (Solution)13:39 min
- 11Wrap Up1:40 min
- 12Useful Resources & Links0:00 min
12Understanding the Aggregation Framework27 leçons · 1 h et 37 min
- 01Module Introduction1:34 min
- 02What is the Aggregation Framework?1:59 min
- 03Getting Started with the Aggregation Pipeline1:21 min
- 04Using the Aggregation Framework3:12 min
- 05Understanding the Group Stage5:56 min
- 06Diving Deeper Into the Group Stage3:12 min
- 07Assignment - Aggregation Framework (Problem)1:03 min
- 08Assignment - Aggregation Framework (Solution)4:01 min
- 09Working with $project9:58 min
- 10Turning the Location Into a geoJSON Object7:59 min
- 11Transforming the Birthdate3:48 min
- 12Using Shortcuts for Transformations1:25 min
- 13Understanding the $isoWeekYear Operator2:40 min
- 14$group vs $project0:55 min
- 15Pushing Elements Into Newly Created Arrays4:03 min
- 16Understanding the $unwind Stage2:50 min
- 17Eliminating Duplicate Values0:50 min
- 18Using Projection with Arrays3:03 min
- 19Getting the Length of an Array1:11 min
- 20Using the $filter Operator4:43 min
- 21Applying Multiple Operations to our Array7:30 min
- 22Understanding $bucket6:16 min
- 23Diving Into Additional Stages7:29 min
- 24Writing Pipeline Results Into a New Collection1:47 min
- 25Working with the $geoNear Stage5:16 min
- 26Wrap Up2:41 min
- 27Useful Resources & Links0:00 min
13Working with Numeric Data10 leçons · 40 min
- 01Module Introduction0:54 min
- 02Number Types - An Overview6:28 min
- 03Understanding Programming Language Defaults3:33 min
- 04Working with int325:17 min
- 05Working with int646:32 min
- 06Doing Maths with Floats int32s & int64s6:57 min
- 07What's Wrong with Normal Doubles?4:20 min
- 08Working with Decimal 128bit4:14 min
- 09Wrap Up1:40 min
- 10Useful Resources & Links0:00 min
14MongoDB & Security13 leçons · 58 min
- 01Module Introduction4:23 min
- 02Understanding Role Based Access Control6:47 min
- 03Roles - Examples2:13 min
- 04Creating a User5:50 min
- 05Built-In Roles - An Overview5:39 min
- 06Assigning Roles to Users & Databases4:48 min
- 07Updating & Extending Roles to Other Databases5:06 min
- 08Assignment - Security (Problem)1:31 min
- 09Assignment - Security (Solution)6:42 min
- 10Adding SSL Transport Encryption10:20 min
- 11Encryption at REST1:25 min
- 12Wrap Up3:21 min
- 13Useful Resources & Links0:00 min
15Performance, Fault Tolerancy & Deployment11 leçons · 40 min
- 01Module Introduction1:52 min
- 02What Influences Performance?3:01 min
- 03Understanding Capped Collections5:05 min
- 04What are Replica Sets?4:36 min
- 05Understanding Sharding6:13 min
- 06Deploying a MongoDB Server2:25 min
- 07Using MongoDB Atlas9:17 min
- 08Backups & Setting Alerts in MongoDB Atlas1:27 min
- 09Connecting to our Cluster3:36 min
- 10Wrap Up1:58 min
- 11Useful Resources & Links0:00 min
16Transactions5 leçons · 13 min
- 01Module Introduction1:04 min
- 02What are Transactions?2:03 min
- 03A Typical Usecase2:17 min
- 04How Does a Transaction Work?7:42 min
- 05Useful Resources & Links0:00 min
17From Shell to Driver19 leçons · 1 h et 24 min
- 01Module Introduction2:13 min
- 02Splitting Work Between the Driver & the Shell2:06 min
- 03Preparing our Project4:49 min
- 04Installing Visual Studio Code1:46 min
- 05Installing the Node.js Driver4:56 min
- 06Connecting Node.js & the MongoDB Cluster6:31 min
- 07Storing Products in the Database4:53 min
- 08Storing the Price as 128bit Decimal6:10 min
- 09Fetching Data From the Database6:23 min
- 10Creating a More Realistic Setup11:48 min
- 11Getting a Single Product3:20 min
- 12Editing & Deleting Products7:28 min
- 13Implementing Pagination4:58 min
- 14Adding an Index1:27 min
- 15Signing Users Up7:03 min
- 16Adding an Index to Make the Email Unique1:13 min
- 17Adding User Sign In5:18 min
- 18Wrap Up1:11 min
- 19Useful Resources & Links0:00 min
18Introducing Stitch21 leçons · 1 h et 7 min
- 01Module Introduction1:42 min
- 02Stitch & MongoDB Realm0:00 min
- 03What is Stitch?7:22 min
- 04Preparations2:04 min
- 05Start Using Stitch4:33 min
- 06Adding Stitch to our App & Initializing It8:11 min
- 07Adding Authentication2:47 min
- 08Sending Data Access Rules3:57 min
- 09Fetching & Converting Data1:49 min
- 10Deleting Products3:02 min
- 11Finding a Single Product4:09 min
- 12Adding Products3:29 min
- 13Updating Products3:46 min
- 14Switching to User Email & Password Authentication1:54 min
- 15Adding User Sign Up & Confirmation6:32 min
- 16Adding User Login3:42 min
- 17Rules & Real Users1:48 min
- 18The Current State of Authentication0:00 min
- 19Functions & Triggers5:01 min
- 20Wrap Up0:56 min
- 21Useful Resources & Links0:00 min
19Roundup1 leçon · 3 min
- 01Course Roundup3:05 min
Prêt à commencer ?
Achetez ce cours sur Academind Pro, ou obtenez tous les cours avec All Access sur Academind Infinite.
Ce cours sur Academind Pro
69 $USpaiement unique
TVA incluse · Satisfait ou remboursé pendant 30 jours
- Accès à vie à ce cours
- Toutes les futures mises à jour de ce cours
- Ressources téléchargeables, code et un certificat
All Access sur Academind Infinite
25 $USpar mois
ou
249 $US249 $US par anÉconomisez 17 %- Tous les cours, avec toutes leurs fonctionnalités
- Les nouveaux cours dès leur sortie
- Votre tuteur, avec toutes ses fonctionnalités
All Access inclut aussi tous les cours Academind Pro.