Free course

MongoDB Course

Learn MongoDB from document modeling and CRUD through indexes, aggregation, Node.js, transactions, change streams, security, backups, and recovery.

5 modules · 20 lessons · No signup

Prerequisites: JavaScript, Node.js and Shell Commands

~~~

Your progress

of lessons completed.

Course completed.

What you'll learn

Design, query, secure, observe, and recover a MongoDB-backed application without copying a relational schema mechanically.

Take this course offline

Subscribe to my newsletter to get every free book and course in PDF and EPUB format.

Get the downloads

Course contents

  1. Document database foundations

    Documents, collections, BSON, local MongoDB, Atlas, and mongosh.

    1. Understand the document model
    2. Choose local MongoDB or Atlas
    3. Navigate with mongosh
    4. Check your understanding: document database foundations
  2. CRUD and querying

    Insert, find, update, delete, project, sort, paginate, and validate documents.

    1. Insert and read documents
    2. Update and delete deliberately
    3. Add schema validation
    4. Check your understanding: crud and querying
  3. Modeling and indexes

    Access patterns, embedding, references, document growth, indexes, and explain plans.

    1. Model from access patterns
    2. Choose embedding or references
    3. Index from real queries
    4. Check your understanding: modeling and indexes
  4. Applications and events

    Node.js drivers, aggregation pipelines, transactions, change streams, retries, and idempotency.

    1. Connect from Node.js
    2. Build an aggregation pipeline
    3. Choose transactions or change streams
    4. Check your understanding: applications and events
  5. Security and operations

    Authentication, network controls, replication, backups, monitoring, scaling, and recovery.

    1. Secure the database boundary
    2. Understand replication and scaling
    3. Back up, observe, and recover
    4. Check your understanding: security and operations