Zum Hauptinhalt springen
Academind
Alle Kurse

Academind-Pro-Kurs

MongoDB - The Complete Developer's Guide

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

  • 19 Abschnitte · 276 Lektionen
  • 17 Std., 31 Min. insgesamt
MongoDB - The Complete Developer's Guide

Über diesen Kurs

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.

Was du lernst

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

Voraussetzungen

  • 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.

Für wen dieser Kurs ist

  • 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.

Lehrplan

Sieh dir Aufbau und Tempo dieses Kurses an, bevor du startest.

  1. 1Getting Started15 Lektionen · 1 Std., 4 Min.
    1. 01Introduction2:04 Min.
    2. 02What is MongoDB?5:36 Min.
    3. 03The Key MongoDB Characteristics (and how they differ from SQL Databases)2:55 Min.
    4. 04Join our Online Learning Community0:00 Min.
    5. 05Understanding the MongoDB Ecosystem4:19 Min.
    6. 06General Setup Instructions & macOS Installation16:52 Min.
    7. 07Windows Installation8:10 Min.
    8. 08Installing The MongoDB Shell5:10 Min.
    9. 09Installing "mongoimport"0:00 Min.
    10. 10Time To Get Started!5:37 Min.
    11. 11Shell vs Drivers3:29 Min.
    12. 12MongoDB + Clients: The Big Picture2:58 Min.
    13. 13Course Outline4:38 Min.
    14. 14How To Get The Most Out Of The Course2:30 Min.
    15. 15The Academind Pro Referral Program0:00 Min.
  2. 2Understanding the Basics & CRUD Operations21 Lektionen · 1 Std., 19 Min.
    1. 01Module Introduction1:30 Min.
    2. 02Understanding Databases, Collections & Documents3:47 Min.
    3. 03The Shell & MongoDB Drivers for Different Languages2:40 Min.
    4. 04Creating Databases & Collections3:16 Min.
    5. 05Understanding JSON Data4:05 Min.
    6. 06Comparing JSON & BSON5:23 Min.
    7. 07Create, Read, Update, Delete (CRUD) & MongoDB5:37 Min.
    8. 08Finding, Inserting, Deleting & Updating Elements7:47 Min.
    9. 09Understanding "insertMany()"1:48 Min.
    10. 10Diving Deeper Into Finding Data3:55 Min.
    11. 11"update" vs "updateMany()"4:41 Min.
    12. 12Understanding "find()" & the Cursor Object7:30 Min.
    13. 13Understanding Projection3:38 Min.
    14. 14Embedded Documents & Arrays - The Theory1:56 Min.
    15. 15Working with Embedded Documents2:28 Min.
    16. 16Working with Arrays1:43 Min.
    17. 17Accessing Structured Data4:39 Min.
    18. 18Assignment - The Basics & CRUD Operations (Problem)2:37 Min.
    19. 19Assignment - The Basics & CRUD Operations (Solution)6:57 Min.
    20. 20Wrap Up2:47 Min.
    21. 21Useful Resources & Links0:00 Min.
  3. 3Schemas & Relations: How to Structure Documents22 Lektionen · 1 Std., 52 Min.
    1. 01Module Introduction2:12 Min.
    2. 02Why Do We Use Schemas?3:57 Min.
    3. 03Structuring Documents7:43 Min.
    4. 04Data Types - An Overview6:23 Min.
    5. 05Data Types in Action12:15 Min.
    6. 06How to Derive your Data Structure - Requirements5:07 Min.
    7. 07Understanding Relations2:58 Min.
    8. 08One To One Relations - Embedded6:20 Min.
    9. 09One To One - Using References4:54 Min.
    10. 10One To Many - Embedded5:07 Min.
    11. 11One To Many - Using References4:04 Min.
    12. 12Many To Many - Embedded7:16 Min.
    13. 13Many To Many - Using References5:25 Min.
    14. 14Summarizing Relations2:18 Min.
    15. 15Using "lookUp()" for Merging Reference Relations4:35 Min.
    16. 16Planning the Example Exercise6:56 Min.
    17. 17Implementing the Example Exercise4:16 Min.
    18. 18Understanding Schema Validation2:57 Min.
    19. 19Adding Collection Document Validation9:07 Min.
    20. 20Changing the Validation Action3:43 Min.
    21. 21Wrap Up4:08 Min.
    22. 22Useful Resources & Links0:00 Min.
  4. 4Exploring The Shell & The Server8 Lektionen · 20 Min.
    1. 01Module Introduction1:01 Min.
    2. 02Finding Available Options2:15 Min.
    3. 03Setting "dbpath" & "logpath"4:41 Min.
    4. 04Exploring the MongoDB Options2:00 Min.
    5. 05MongoDB as a Background Service3:09 Min.
    6. 06Using a Config File3:02 Min.
    7. 07Shell Options & Help4:12 Min.
    8. 08Useful Resources & Links0:00 Min.
  5. 5Using the MongoDB Compass to Explore Data Visually3 Lektionen · 7 Min.
    1. 01Module Introduction0:50 Min.
    2. 02Exploring the MongoDB Compass5:50 Min.
    3. 03Useful Resources & Links0:00 Min.
  6. 6Diving Into Create Operations12 Lektionen · 43 Min.
    1. 01Module Introduction1:12 Min.
    2. 02Creating Documents - An Overview1:47 Min.
    3. 03Understanding "insert()" Methods6:10 Min.
    4. 04Working with Ordered Inserts7:47 Min.
    5. 05Understanding the "writeConcern"5:44 Min.
    6. 06The "writeConcern" in Practice4:09 Min.
    7. 07What is Atomicity?2:39 Min.
    8. 08Assignment - Create Operations (Problem)1:34 Min.
    9. 09Assignment - Create Operations (Solution)5:23 Min.
    10. 10Importing Data3:37 Min.
    11. 11Wrap Up2:38 Min.
    12. 12Useful Resources & Links0:00 Min.
  7. 7Read Operations - A Closer Look31 Lektionen · 1 Std., 54 Min.
    1. 01Module Introduction1:40 Min.
    2. 02Methods, Filters & Operators2:54 Min.
    3. 03Operators - An Overview3:02 Min.
    4. 04Query Selectors & Projection Operators1:16 Min.
    5. 05Understanding "findOne()" & "find()"4:32 Min.
    6. 06Working with Comparison Operators5:20 Min.
    7. 07Querying Embedded Fields & Arrays4:52 Min.
    8. 08Understanding "$in" and "$nin"2:37 Min.
    9. 09"$or" and "$nor"5:31 Min.
    10. 10Understanding the "$and" Operator5:04 Min.
    11. 11Using "$not"1:35 Min.
    12. 12Diving Into Element Operators5:30 Min.
    13. 13Working with "$type"2:52 Min.
    14. 14Understanding Evaluation Operators - "$regex"3:23 Min.
    15. 15Understanding Evaluation Operators - "$expr"9:37 Min.
    16. 16Assignment - Read Operations (Problem)1:23 Min.
    17. 17Assignment - Read Operations (Solution)6:34 Min.
    18. 18Diving Deeper Into Querying Arrays4:09 Min.
    19. 19Using Array Query Selectors - "$size"2:09 Min.
    20. 20Using Array Query Selectors - "$all"2:12 Min.
    21. 21Using Array Query Selectors - "$elemMatch"4:52 Min.
    22. 22Assignment - Array Query Selectors (Problem)1:11 Min.
    23. 23Assignment - Array Query Selectors (Solution)4:08 Min.
    24. 24Understanding Cursors2:47 Min.
    25. 25Applying Cursors6:02 Min.
    26. 26Sorting Cursor Results3:09 Min.
    27. 27Skipping & Limiting Cursor Results3:31 Min.
    28. 28Using Projection to Shape our Results4:01 Min.
    29. 29Using Projection in Arrays5:12 Min.
    30. 30Understanding "$slice"3:05 Min.
    31. 31Useful Resources & Links0:00 Min.
  8. 8Update Operations18 Lektionen · 1 Std.
    1. 01Module Introduction1:01 Min.
    2. 02Updating Fields with "updateOne()", "updateMany()" and "$set"7:52 Min.
    3. 03Updating Multiple Fields with "$set"1:40 Min.
    4. 04Incrementing & Decrementing Values3:33 Min.
    5. 05Using "$min", "$max" and "$mul"3:15 Min.
    6. 06Getting Rid of Fields2:04 Min.
    7. 07Renaming Fields1:20 Min.
    8. 08Understanding "upsert()"4:01 Min.
    9. 09Assignment - Update Operations (Problem)1:28 Min.
    10. 10Assignment - Update Operations (Solution)4:42 Min.
    11. 11Updating Matched Array Elements6:56 Min.
    12. 12Updating All Array Elements6:27 Min.
    13. 13Finding & Updating Specific Fields5:35 Min.
    14. 14Adding Elements to Arrays4:46 Min.
    15. 15Removing Elements from Arrays2:34 Min.
    16. 16Understanding "$addToSet"1:18 Min.
    17. 17Wrap Up1:39 Min.
    18. 18Useful Resources & Links0:00 Min.
  9. 9Understanding Delete Operations4 Lektionen · 7 Min.
    1. 01Module Introduction0:31 Min.
    2. 02Understanding "deleteOne()" & "deleteMany()"4:08 Min.
    3. 03Deleting All Entries in a Collection2:00 Min.
    4. 04Useful Resources & Links0:00 Min.
  10. 10Working with Indexes23 Lektionen · 1 Std., 34 Min.
    1. 01Module Introduction1:19 Min.
    2. 02What Are Indexes & Why Do We Use Them?4:18 Min.
    3. 03Adding a Single Field Index8:06 Min.
    4. 04Understanding Index Restrictions2:51 Min.
    5. 05Creating Compound Indexes7:14 Min.
    6. 06Using Indexes for Sorting2:25 Min.
    7. 07Understanding the Default Index0:59 Min.
    8. 08Configuring Indexes2:28 Min.
    9. 09Understanding Partial Filters6:07 Min.
    10. 10Applying the Partial Index3:37 Min.
    11. 11Understanding the Time-To-Live (TTL) Index3:55 Min.
    12. 12Query Diagnosis & Query Planning2:10 Min.
    13. 13Understanding Covered Queries3:34 Min.
    14. 14How MongoDB Rejects a Plan7:37 Min.
    15. 15Using Multi-Key Indexes8:15 Min.
    16. 16Understanding Text Indexes6:09 Min.
    17. 17Text Indexes & Sorting2:21 Min.
    18. 18Creating Combined Text Indexes2:54 Min.
    19. 19Using Text Indexes to Exclude Words0:54 Min.
    20. 20Setting the Default Language & Using Weights6:31 Min.
    21. 21Building Indexes7:40 Min.
    22. 22Wrap Up2:24 Min.
    23. 23Useful Resources & Links0:00 Min.
  11. 11Working with Geospatial Data12 Lektionen · 51 Min.
    1. 01Module Introduction0:53 Min.
    2. 02Adding GeoJSON Data4:51 Min.
    3. 03Running Geo Queries3:22 Min.
    4. 04Adding a Geospatial Index to Track the Distance2:52 Min.
    5. 05Adding Additional Locations3:34 Min.
    6. 06Finding Places Inside a Certain Area6:22 Min.
    7. 07Finding Out If a User Is Inside a Specific Area5:27 Min.
    8. 08Finding Places Within a Certain Radius5:38 Min.
    9. 09Assignment - Geospatial Data (Problem)2:28 Min.
    10. 10Assignment - Geospatial Data (Solution)13:39 Min.
    11. 11Wrap Up1:40 Min.
    12. 12Useful Resources & Links0:00 Min.
  12. 12Understanding the Aggregation Framework27 Lektionen · 1 Std., 37 Min.
    1. 01Module Introduction1:34 Min.
    2. 02What is the Aggregation Framework?1:59 Min.
    3. 03Getting Started with the Aggregation Pipeline1:21 Min.
    4. 04Using the Aggregation Framework3:12 Min.
    5. 05Understanding the Group Stage5:56 Min.
    6. 06Diving Deeper Into the Group Stage3:12 Min.
    7. 07Assignment - Aggregation Framework (Problem)1:03 Min.
    8. 08Assignment - Aggregation Framework (Solution)4:01 Min.
    9. 09Working with $project9:58 Min.
    10. 10Turning the Location Into a geoJSON Object7:59 Min.
    11. 11Transforming the Birthdate3:48 Min.
    12. 12Using Shortcuts for Transformations1:25 Min.
    13. 13Understanding the $isoWeekYear Operator2:40 Min.
    14. 14$group vs $project0:55 Min.
    15. 15Pushing Elements Into Newly Created Arrays4:03 Min.
    16. 16Understanding the $unwind Stage2:50 Min.
    17. 17Eliminating Duplicate Values0:50 Min.
    18. 18Using Projection with Arrays3:03 Min.
    19. 19Getting the Length of an Array1:11 Min.
    20. 20Using the $filter Operator4:43 Min.
    21. 21Applying Multiple Operations to our Array7:30 Min.
    22. 22Understanding $bucket6:16 Min.
    23. 23Diving Into Additional Stages7:29 Min.
    24. 24Writing Pipeline Results Into a New Collection1:47 Min.
    25. 25Working with the $geoNear Stage5:16 Min.
    26. 26Wrap Up2:41 Min.
    27. 27Useful Resources & Links0:00 Min.
  13. 13Working with Numeric Data10 Lektionen · 40 Min.
    1. 01Module Introduction0:54 Min.
    2. 02Number Types - An Overview6:28 Min.
    3. 03Understanding Programming Language Defaults3:33 Min.
    4. 04Working with int325:17 Min.
    5. 05Working with int646:32 Min.
    6. 06Doing Maths with Floats int32s & int64s6:57 Min.
    7. 07What's Wrong with Normal Doubles?4:20 Min.
    8. 08Working with Decimal 128bit4:14 Min.
    9. 09Wrap Up1:40 Min.
    10. 10Useful Resources & Links0:00 Min.
  14. 14MongoDB & Security13 Lektionen · 58 Min.
    1. 01Module Introduction4:23 Min.
    2. 02Understanding Role Based Access Control6:47 Min.
    3. 03Roles - Examples2:13 Min.
    4. 04Creating a User5:50 Min.
    5. 05Built-In Roles - An Overview5:39 Min.
    6. 06Assigning Roles to Users & Databases4:48 Min.
    7. 07Updating & Extending Roles to Other Databases5:06 Min.
    8. 08Assignment - Security (Problem)1:31 Min.
    9. 09Assignment - Security (Solution)6:42 Min.
    10. 10Adding SSL Transport Encryption10:20 Min.
    11. 11Encryption at REST1:25 Min.
    12. 12Wrap Up3:21 Min.
    13. 13Useful Resources & Links0:00 Min.
  15. 15Performance, Fault Tolerancy & Deployment11 Lektionen · 40 Min.
    1. 01Module Introduction1:52 Min.
    2. 02What Influences Performance?3:01 Min.
    3. 03Understanding Capped Collections5:05 Min.
    4. 04What are Replica Sets?4:36 Min.
    5. 05Understanding Sharding6:13 Min.
    6. 06Deploying a MongoDB Server2:25 Min.
    7. 07Using MongoDB Atlas9:17 Min.
    8. 08Backups & Setting Alerts in MongoDB Atlas1:27 Min.
    9. 09Connecting to our Cluster3:36 Min.
    10. 10Wrap Up1:58 Min.
    11. 11Useful Resources & Links0:00 Min.
  16. 16Transactions5 Lektionen · 13 Min.
    1. 01Module Introduction1:04 Min.
    2. 02What are Transactions?2:03 Min.
    3. 03A Typical Usecase2:17 Min.
    4. 04How Does a Transaction Work?7:42 Min.
    5. 05Useful Resources & Links0:00 Min.
  17. 17From Shell to Driver19 Lektionen · 1 Std., 24 Min.
    1. 01Module Introduction2:13 Min.
    2. 02Splitting Work Between the Driver & the Shell2:06 Min.
    3. 03Preparing our Project4:49 Min.
    4. 04Installing Visual Studio Code1:46 Min.
    5. 05Installing the Node.js Driver4:56 Min.
    6. 06Connecting Node.js & the MongoDB Cluster6:31 Min.
    7. 07Storing Products in the Database4:53 Min.
    8. 08Storing the Price as 128bit Decimal6:10 Min.
    9. 09Fetching Data From the Database6:23 Min.
    10. 10Creating a More Realistic Setup11:48 Min.
    11. 11Getting a Single Product3:20 Min.
    12. 12Editing & Deleting Products7:28 Min.
    13. 13Implementing Pagination4:58 Min.
    14. 14Adding an Index1:27 Min.
    15. 15Signing Users Up7:03 Min.
    16. 16Adding an Index to Make the Email Unique1:13 Min.
    17. 17Adding User Sign In5:18 Min.
    18. 18Wrap Up1:11 Min.
    19. 19Useful Resources & Links0:00 Min.
  18. 18Introducing Stitch21 Lektionen · 1 Std., 7 Min.
    1. 01Module Introduction1:42 Min.
    2. 02Stitch & MongoDB Realm0:00 Min.
    3. 03What is Stitch?7:22 Min.
    4. 04Preparations2:04 Min.
    5. 05Start Using Stitch4:33 Min.
    6. 06Adding Stitch to our App & Initializing It8:11 Min.
    7. 07Adding Authentication2:47 Min.
    8. 08Sending Data Access Rules3:57 Min.
    9. 09Fetching & Converting Data1:49 Min.
    10. 10Deleting Products3:02 Min.
    11. 11Finding a Single Product4:09 Min.
    12. 12Adding Products3:29 Min.
    13. 13Updating Products3:46 Min.
    14. 14Switching to User Email & Password Authentication1:54 Min.
    15. 15Adding User Sign Up & Confirmation6:32 Min.
    16. 16Adding User Login3:42 Min.
    17. 17Rules & Real Users1:48 Min.
    18. 18The Current State of Authentication0:00 Min.
    19. 19Functions & Triggers5:01 Min.
    20. 20Wrap Up0:56 Min.
    21. 21Useful Resources & Links0:00 Min.
  19. 19Roundup1 Lektion · 3 Min.
    1. 01Course Roundup3:05 Min.

Bereit loszulegen?

Kaufe diesen Kurs auf Academind Pro oder hol dir mit All Access auf Academind Infinite alle Kurse.

Black Friday: ein Jahr All Access für 249 $ 249 $ · nur bis Angebot sichern
  • Dieser Kurs auf Academind Pro

    69 $einmalig

    Inkl. MwSt. · 30 Tage Geld-zurück-Garantie

    • Lebenslanger Zugriff auf diesen Kurs
    • Alle künftigen Updates dieses Kurses
    • Downloads, Code und ein Zertifikat
    MongoDB kaufen
  • All Access auf Academind Infinite

    25 $im Monat

    oder 249 $ 249 $ im JahrSpare 17 %

    • Jeder Kurs, mit allen Funktionen
    • Neue Kurse, sobald sie kommen
    • Dein Tutor, mit allen Funktionen
    All Access holen

All Access enthält außerdem jeden Academind Pro-Kurs.

Academind Pro und Academind Infinite

Zwei getrennte Plattformen, jede mit eigenen Kursen und eigener Anmeldung.

Academind Pro

Unsere ursprüngliche Kursplattform auf pro.academind.com. Dein Pro-Abo und die Kurse, die du dort gekauft hast, bleiben auf Pro.

Bei Academind Pro anmelden

Academind Infinite

Unsere neue KI-first-Plattform. Pro-Mitglieder melden sich mit ihrem Pro-Konto an, und Pro All Access enthält Infinite: Jeder Kurs ist offen.

Bei Academind Infinite anmelden

Hattest du ein Pro-Konto oder einen Kurs auf Pro gekauft?

Nicht jeder Pro-Kurs ist zu Infinite umgezogen, nur diese. Wähle deinen, um ihn auf Infinite zu sehen.