CTCaliberTek

MongoDB: From Documents to Production, Step by Step

An eight-module course on MongoDB: the document model, CRUD, queries, the aggregation framework, schema design, indexes, replication and sharding, and security and drivers.

8 lessons · about 80 minutes of reading

Log in to track your progress through this course.

Start lesson 1
  1. 1

    MongoDB Module 1: Introduction, the Document Model, and Setup

    Learn what MongoDB is, how documents differ from tables, and set up MongoDB with Docker or Atlas and connect with mongosh.

    9 min read

  2. 2

    MongoDB Module 2: CRUD Operations

    Insert, read, update, and delete documents with mongosh, including update operators, projections, and upserts.

    10 min read

  3. 3

    MongoDB Module 3: Query Operators, Arrays, Nested Fields, and Pagination

    Write richer queries with comparison and logical operators, query nested fields and arrays, and paginate results.

    10 min read

  4. 4

    MongoDB Module 4: The Aggregation Framework

    Build pipelines with $match, $group, $project, $unwind, $lookup, and $sort to analyze data inside MongoDB.

    11 min read

  5. 5

    MongoDB Module 5: Schema Design and Validation

    Decide when to embed and when to reference, use common design patterns, and enforce structure with JSON Schema validation.

    10 min read

  6. 6

    MongoDB Module 6: Indexes and Query Performance

    Create single, compound, and TTL indexes, read explain plans, and follow the equality, sort, range rule.

    10 min read

  7. 7

    MongoDB Module 7: Transactions, Replication, and Sharding

    Understand replica sets, read and write concerns, multi-document transactions, change streams, and how sharding scales a cluster.

    10 min read

  8. 8

    MongoDB Module 8: Security, Atlas Features, and Using MongoDB from Code

    Secure a deployment, learn Atlas Search and Vector Search, and connect from Python and Node.js.

    10 min read