MongoDB

Included in Pro

Learn MongoDB on your iPhone

Learn MongoDB with 30 short lessons and 150 exercises. Each lesson explains the idea, shows you an example and gets you practicing, with an AI tutor that gives hints when you get stuck.

lessons
30
exercises
150
Beginner
8
Intermediate
11
Advanced
11
Syntax, the 3D SyntaxQuest mascot

What is MongoDB used for?

MongoDB is a NoSQL database that stores data as JSON-like documents. It is popular in modern web applications for its flexibility and ease of scaling.

How the course starts

  1. 01

    NoSQL vs SQL

    Differences between SQL and NoSQL, the document model, and when to use each approach.

  2. 02

    Documents and Collections

    Document structure, the _id field, collections, and databases in MongoDB.

  3. 03

    Installation and mongosh

    Using mongosh, connecting, and basic navigation commands inside MongoDB.

  4. 04

    BSON Data Types

    Recognize the most common BSON types and when to use ObjectId, numbers, dates, arrays, embedded documents, and null.

  5. 05

    Databases and Collections

    Switch databases, list available databases, and create collections with options such as capped and collation.

  6. +25 more lessons in the app

    The full syllabus, the explanations and the practice are in the app.

MongoDB course syllabus

Beginner 8 lessons

  1. NoSQL vs SQL
  2. Documents and Collections
  3. Installation and mongosh
  4. BSON Data Types
  5. Databases and Collections
  6. Inserting Documents
  7. Querying Documents
  8. Bulk Operations

Intermediate 11 lessons

  1. Updating Documents
  2. Deleting Documents
  3. Comparison and Logical Operators
  4. Projection and Sorting
  5. Querying Arrays
  6. Regular Expressions and Text Search
  7. Index Types
  8. Compound and Multikey Indexes
  9. TTL and Partial Indexes
  10. $match and $group
  11. $project and $sort

Advanced 11 lessons

  1. Querying Subdocuments
  2. Text Indexes and Search
  3. explain() and Optimization
  4. $lookup and $unwind
  5. $addFields and Complex Pipelines
  6. $bucket and $facet
  7. Schema Design
  8. Replication
  9. Sharding
  10. Transactions and Security
  11. Change Streams and Atlas

A question from the course

Documents and Collections

What does this command show in mongosh?

db.getName()

The answer, the explanation and many more exercises are waiting for you in the app.

Download

Questions about the course

Is the MongoDB course free?

MongoDB is part of Pro (and Pro Max). The app is free and you can start with the free courses before subscribing.

Do I need experience to learn MongoDB?

No. The course starts at beginner level (8 lessons) and moves on to intermediate and advanced at your pace.

How long is the MongoDB course?

It has 30 lessons and 150 exercises. Lessons are short, so you can move forward a few minutes a day; adaptive learning brings back what you are about to forget.