MongoDB Course · Complete

Stop forcing documents into rows and columns

A foundations-first NoSQL path — start with the document model, collections and CRUD, then move into querying, indexing and the aggregation pipeline that does the heavy lifting in real MongoDB applications, before going deep on transactions, replication, sharding and Atlas. All 10 weeks are live, ending in a full capstone API you deploy yourself.

10-Week Plan All 10 Weeks Live Beginner-Friendly Pairs Well With Node.js & Express
10
Weeks, all live
10
Modules complete
1
Deployed capstone project
0→1
No prior database experience needed
Before You Start

Prerequisites & tooling

What you should already know

  • Comfortable reading and writing basic JSON
  • Some exposure to any programming language helps, but isn't required for Weeks 1–2
  • No prior database or SQL experience required — this course doesn't assume it
  • Pairs well with the Node.js & Express course, but stands entirely on its own

Stack you'll work with

The exact tools used to run MongoDB locally and query it, free and open-source.

MongoDB Community Server mongosh MongoDB Compass BSON / JSON Aggregation Pipeline Mongoose MongoDB Atlas
Syllabus

The full 10-week roadmap

Ten modules, from the document model and CRUD through querying, indexing and the aggregation pipeline, to schema design, transactions, replication, sharding and Atlas — capped by a capstone API. Every week below is live.

01
WEEK 1

MongoDB Fundamentals: Documents, Collections & CRUD

The document model, and the five operations that cover almost everything you'll do day to day.

  • Documents, collections & databases — the model, not the table
  • insertOne/insertMany, find, updateOne/updateMany, deleteOne/deleteMany
  • The _id field, ObjectId & core BSON types
Start this lesson
02
WEEK 2

Querying, Indexing & the Aggregation Pipeline

Go from "I can read it back" to "I can ask it real questions, fast."

  • Query operators ($gt, $in, $and) & projections
  • Indexes — why queries get slow, and how explain() proves it
  • A first aggregation pipeline: $match, $group, $sort, $project
Start this lesson
03
WEEK 3

Schema Design & Data Modeling Patterns

MongoDB doesn't force a schema — that means the modeling decisions are entirely yours to get right.

  • Embedding vs. referencing, and how to choose
  • One-to-few, one-to-many & one-to-squillions patterns
  • Schema validation with $jsonSchema
Start this lesson
04
WEEK 4

Mongoose & the Node.js Driver

Talk to MongoDB from real application code, not just a shell.

  • The native Node.js driver vs. Mongoose's schema layer
  • Schemas, models, validation & middleware in Mongoose
  • Wiring a CRUD API route to a MongoDB collection
Start this lesson
05
WEEK 5

Advanced Aggregation & Data Transformation

Push analysis into the database instead of pulling everything into application code.

  • $lookup for joining across collections
  • $unwind, $facet & multi-stage pipelines
  • Building a reporting pipeline against a real dataset
Start this lesson
06
WEEK 6

Transactions & ACID Guarantees in MongoDB

Yes, MongoDB has real multi-document transactions — here's when you actually need them.

  • Single-document atomicity vs. multi-document transactions
  • Sessions, startTransaction/commitTransaction
  • When good schema design means you don't need a transaction at all
Start this lesson
07
WEEK 7

Replication & High Availability

Keep serving reads and writes even when a server goes down.

  • Replica sets, primaries, secondaries & automatic failover
  • Write concern & read preference, and the tradeoffs each makes
  • Standing up a local 3-node replica set
Start this lesson
08
WEEK 8

Sharding & Horizontal Scaling

What happens when one replica set isn't enough anymore.

  • Shard keys, chunks & the mongos router
  • Choosing a shard key that doesn't create a hot shard
  • When to reach for sharding — and when replication is still enough
Start this lesson
09
WEEK 9

MongoDB Atlas: Cloud Deployment & Monitoring

Run everything from this course on a managed cluster instead of your laptop.

  • Spinning up a free-tier Atlas cluster & network access rules
  • Atlas Search & built-in performance monitoring
  • Backups, alerts & connecting a real app to Atlas
Start this lesson
10
WEEK 10 · CAPSTONE

Capstone: Build a Full CRUD API Backed by MongoDB

Apply every module in one project — a real API, a real schema, a real Atlas cluster.

  • A modeled schema with embedding/referencing decisions you can justify
  • An aggregation-powered reporting endpoint
  • Deployed to Atlas — portfolio-ready project you can show employers
Start this lesson

Ready to work with a document database?

All 10 weeks are live, from your first insertOne() to a deployed capstone API. Building an API on top of it? The Node.js & Express course pairs directly with what you'll learn here.