Saltar al contenido principal
Academind
Todos los cursos

Curso de Academind Pro

MongoDB - The Complete Developer's Guide

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

  • 19 secciones · 276 lecciones
  • 17 h y 31 min en total
MongoDB - The Complete Developer's Guide

Sobre este curso

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.

Lo que aprenderás

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.

Requisitos previos

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

Para quién es este curso

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

Temario

Echa un vistazo a la estructura y el ritmo de este curso antes de empezar.

  1. 1Getting Started15 lecciones · 1 h y 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 lecciones · 1 h y 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 lecciones · 1 h y 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 lecciones · 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 lecciones · 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 lecciones · 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 lecciones · 1 h y 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 lecciones · 1 h
    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 lecciones · 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 lecciones · 1 h y 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 lecciones · 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 lecciones · 1 h y 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 lecciones · 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 lecciones · 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 lecciones · 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 lecciones · 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 lecciones · 1 h y 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 lecciones · 1 h y 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 lección · 3 min
    1. 01Course Roundup3:05 min

¿Listo para empezar?

Compra este curso en Academind Pro u obtén todos los cursos con All Access en Academind Infinite.

Black Friday: un año de All Access por 249 US$ 249 US$ · solo hasta el Aprovecha la oferta
  • Este curso en Academind Pro

    69 US$pago único

    IVA incluido · Garantía de devolución de 30 días

    • Acceso de por vida a este curso
    • Todas las futuras actualizaciones de este curso
    • Recursos descargables, código y un certificado
    Comprar MongoDB
  • All Access en Academind Infinite

    25 US$al mes

    o 249 US$ 249 US$ al añoAhorra 17 %

    • Todos los cursos, con todas sus funciones
    • Cursos nuevos en cuanto salen
    • Tu tutor, con todas sus funciones
    Obtener All Access

All Access también incluye todos los cursos de Academind Pro.

Academind Pro y Academind Infinite

Dos plataformas distintas, cada una con sus propios cursos y su propio inicio de sesión.

Academind Pro

Nuestra plataforma de cursos original, en pro.academind.com. Tu suscripción a Pro y los cursos que compraste allí siguen en Pro.

Inicia sesión en Academind Pro

Academind Infinite

Nuestra nueva plataforma pensada para la IA. Los miembros de Pro inician sesión con su cuenta de Pro, y Pro All Access incluye Infinite: todos los cursos están abiertos.

Inicia sesión en Academind Infinite

¿Tenías una cuenta de Pro o compraste un curso en Pro?

No todos los cursos de Pro pasaron a Infinite, solo estos. Elige el tuyo para verlo en Infinite.