メインコンテンツへスキップ
Academind
すべてのコース

Academind Proのコース

MongoDB - The Complete Developer's Guide

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

  • 19セクション · 276件のレクチャー
  • 合計17 時間 31 分
MongoDB - The Complete Developer's Guide

このコースについて

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.

学べること

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.

前提条件

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

このコースの対象者

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

カリキュラム

始める前に、このコースの構成とペースをご確認ください。

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

始める準備はできましたか?

このコースをAcademind Proで購入するか、Academind InfiniteのAll Accessですべてのコースを利用しましょう。

ブラックフライデー: All Access 1年分が $249 $249 · までの限定価格セール価格で購入する
  • Academind Proでこのコースを購入

    $69買い切り

    税込 · 30日間返金保証

    • このコースへの無期限アクセス
    • このコースの今後のアップデートすべて
    • ダウンロード資料、コード、修了証
    MongoDBを購入
  • Academind InfiniteのAll Access

    $25/月

    または$249 $249 /年17%お得

    • すべてのコースを、すべての機能付きで
    • 新しいコースも随時追加
    • チューター(すべての機能)
    All Accessを始める

All Accessには、Academind Proのすべてのコースも含まれます。

Academind ProとAcademind Infinite

コースもログインもそれぞれ別の、2つのプラットフォームです。

Academind Pro

pro.academind.comにある、これまでのコースプラットフォームです。Proのサブスクリプションとご購入のコースは、引き続きProでご利用いただけます。

Academind Proにログイン

Academind Infinite

AIファーストの新しいプラットフォームです。ProメンバーはProのアカウントでログインできます。Pro All AccessにはInfiniteも含まれ、すべてのコースを受講できます。

Academind Infiniteにログイン

Proのアカウントをお持ちか、Proでコースをご購入済みですか?

Infiniteに移ったのは、Proのコースの一部だけです。お持ちのコースを選んで、Infiniteでのページを開いてください。