- 44lessons
- 2guided projects
- 8module checkpoints
- 1.9hours of video
What you'll learn
- Run a disposable loopback-only MongoDB Community server and read, create and query documents with correct _id, nesting and array handling.
- Filter, update and delete with documented query and update operators and verify changes by reading data back.
- Enforce structure with $jsonSchema validators and tune validationAction and validationLevel on collections with existing data.
- Choose embedding or referencing from access patterns, size limits and update frequency, and record the decision.
- Build aggregation pipelines with $match, $unwind, $group, $sort, $limit, $lookup and write stages, within documented memory limits.
Skills you'll gain
- Documents
- collections
- CRUD
- query operators
- Schema validation
- Modeling relationships
- Aggregation pipelines
- Indexes
- plans
- Transactions
- concurrency
- Application integration
Tools you'll use
- MongoDB Community Edition
- mongosh
- Node.js
- MongoDB Node.js driver
Details to know
- Certificate on completionIssued after your final project is reviewed
- 8 module checkpointsA quiz and a practical task close each module
- Self-pacedStudy any time; your progress is saved
How every lesson works
Each lesson follows the same four steps, so you always know what comes next.
- 01
Watch & Learn
A short animated video explains one idea at a time.
- 02
Guided Practice
Work through an example step by step and check the result.
- 03
Quiz & Challenge
Short questions check the idea has landed before you move on.
- 04
Mini Project
Build something useful from a project brief.
Learn at your own pace
This is a self-paced course. There are no live classes and no fixed timetable.
- Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
- Pick up where you left offYour progress is saved to your account.
- Ask when you're stuckUse Ask Mentor inside the learning platform.
Your path in 3 phases
Each phase ends with something you have built and checked.
- 01
Modules 1 to 3
Validated catalogue collection
Covers Documents and collections, CRUD and query operators and Schema validation.
You build: Guided project: Loopback lab script and seed data for the learner's chosen domain. Query notebook with verified filters and updates.
- 02
Modules 4 to 6
Modeled, queried and indexed reporting layer
Covers Modeling relationships, Aggregation pipelines and Indexes and plans.
You build: Guided project: Access-pattern table, two sample documents and a decision record. Verified aggregation pipelines including one $lookup.
- 03
Modules 7 to 8
Final project and assessment
Covers Transactions and concurrency and Application integration, then the final project: Document-store application with validated schema indexes and transactions.
You build: Final project, one of: Booking service: venues, slots and reservations with validator, indexes, reservation transaction, Node API subset and restore drill.
Full curriculum
8 modules and 44 lessons, 26 to 43 hours of study
01Documents and collections5 lessons, 2 to 4 hours
Lessons
- Starting a loopback-only disposable mongod and checking it with hello
- Anatomy of a document: fields, BSON types and the automatic _id
- Embedded documents and arrays addressed with dot notation
- insertMany ordered versus unordered and what survives a duplicate _id
- Collections without a fixed shape, and the document model versus relational rows
After this module you can
- Start a throwaway Community Edition container reachable only from 127.0.0.1 and prove it is alive from mongosh.
- Insert a document with and without an explicit _id and explain who creates the ObjectId.
- Store documents with different fields in one collection, query across the variance and state when a rigid schema is preferable.
02CRUD and query operators6 lessons, 3 to 4 hours
Lessons
- Comparison operators in a filter: $gt, $lte, $in and $ne
- Logical and element operators: $and, $or, $not and $type
- Array predicates: $all, $elemMatch and $size
- Update operators: $set, $inc, $push, $addToSet and $unset
- Projection, sort and limit for result shaping
- Deleting safely: preview, delete and verify counts
After this module you can
- Choose the right comparison operator and predict which seeded documents a range or list filter returns.
- Compose multi-clause filters with $or and $and, and guard against wrong-typed values with $type.
- Delete a precisely scoped set of documents using the preview-then-delete habit and confirm the remaining set.
03Schema validation5 lessons, 2 to 4 hours
Lessons
- Creating a collection with a $jsonSchema validator
- Reading a Document failed validation error
- validationAction: error, warn and errorAndLog
- validationLevel strict, moderate and constraint with collMod
- Validation boundaries: query operators, restrictions and bypass
After this module you can
- Write a validator with bsonType, required, properties and bounds and prove it accepts one document and rejects another.
- Interpret the error text so a failing field can be identified without guessing.
- Combine $jsonSchema with $expr, know where validation cannot be set, and state when bypass is appropriate.
04Modeling relationships5 lessons, 2 to 4 hours
Lessons
- Listing access patterns before drawing a document shape
- Embedding a one-to-many relationship in one document
- Referencing with ids and joining with $lookup
- Size and growth: 16 MiB, nesting depth and splitting by access frequency
- Many-to-many relationships and a written modeling decision record
After this module you can
- Turn a feature list into read and write patterns and use 'accessed together, stored together' to propose a first model.
- Model order lines inside an order, query them with dot notation and state what embedding gives and costs.
- Model students-and-courses style many-to-many data with references and defend each decision in a short record.
05Aggregation pipelines5 lessons, 2 to 4 hours
Lessons
- A pipeline as ordered stages: $match, $group, $sort and $limit
- $unwind: turning array elements into documents before grouping
- $lookup equality joins inside a pipeline
- $lookup with let and pipeline: uncorrelated and correlated subqueries
- Pipeline output, write stages and the memory limits
After this module you can
- Write a four-stage pipeline and predict each stage's output document count before running it.
- Unwind an array field and count per element, noticing how document counts multiply.
- Use $merge or $out knowingly, and recognise the 100 MB stage limit with allowDiskUse.
06Indexes and plans6 lessons, 3 to 4 hours
Lessons
- The default _id index and naming a single-field index
- explain executionStats: COLLSCAN versus IXSCAN
- Compound indexes: field order, prefixes and the ESR guideline
- Unique, partial, TTL and hidden index properties
- Reading plans across engines with version-tolerant assertions
- Index costs: the 64-index cap, 32-field cap and hide-before-drop
After this module you can
- Create a single-field index, read its default name and explain what the automatic _id index guarantees.
- Read winningPlan, totalKeysExamined, totalDocsExamined and nReturned before and after adding an index.
- Decide whether an index earns its cost using limits and a hide-and-measure trial.
07Transactions and concurrency6 lessons, 3 to 4 hours
Lessons
- Single-document atomicity and when a model removes the need for a transaction
- Sessions, replica sets and starting a local multi-document transaction
- Read concern and write concern inside a transaction
- Write concern w, j and wtimeout outside transactions
- Transaction failure, retries and limits
- Change streams at concept level: events, resume tokens and requirements
After this module you can
- Explain why one embedded document update is atomic and design a transfer-like change that needs no multi-document transaction.
- Run a local replica set and execute a two-collection change inside a session transaction, verifying commit and abort.
- Explain what a change stream is, what it needs, and how resuming works, without building a consumer.
08Application integration6 lessons, 3 to 4 hours
Lessons
- Installing the Node.js driver and managing a MongoClient lifetime
- CRUD through the driver with seeded fixtures
- Handling duplicate-key and validation errors in application code
- Security basics: users, roles, authentication and network exposure
- Operations basics: mongodump, mongorestore and a restore proof
- Assembling the capstone evidence pack
After this module you can
- Install the official driver, connect to the loopback server, run findOne and close the client in a finally block.
- Insert, query, update and delete through the driver and assert results from seeded data.
- Combine validation, indexes, a transaction and a restore proof into a single repeatable run with a written evidence list.
What you'll build
2 guided projects along the way, then a final project.
Validated catalogue collection
after module 3Modeled, queried and indexed reporting layer
after module 6
Final project
Document-store application with validated schema indexes and transactions. Options: Booking service: venues, slots and reservations with validator, indexes, reservation transaction, Node API subset and restore drill.
What you submit
Source and artifact submission: repository with creation, index, seed, transaction and run-all scripts. Functional checks: run-all prints a pass/fail table covering validation verdicts, query results, aggregation output and index plan stages.
How it's reviewed
Trainer-reviewed demonstration, scored on: Modeling decisions cite access patterns (25%) Validation and indexes demonstrated with probes and plan assertions (25%) Transaction and consistency reasoning including concerns (20%).
Where you'll use it
- Write an aggregation pipeline that produces a reporting summary and check its index plan.
- Use a transaction to move stock between locations without losing updates.
Roles that use these skills
- Backend Developer
- Database Developer
- Full-Stack Developer
Earn the certificate by building, not watching
- Complete the lessons and pass each module checkpoint.
- Build your final project and demonstrate it.
- OUTLEARN reviews your project and issues your certificate. It is not issued automatically.
Frequently asked questions
What do I need before starting?
Learners should have completed SQL and Database Foundations or pass this diagnostic: write a SELECT with WHERE and ORDER BY; explain what a primary key and a foreign key do; explain GROUP BY with a count; describe what COMMIT and ROLLBACK mean. They also need command-line comfort (run a command, edit a file) and working ability in JavaScript on Node.js for module 8 (variables, functions, async/await, npm).
When do I get a certificate?
We do not issue certificates until you successfully build and demonstrate your live project. Staff issue certificates after review; nothing is issued automatically.
Which languages is this course in?
Every lesson has audio and captions in English, Hindi, Telugu, Tamil, Kannada and Malayalam. You can switch language inside any lesson.
How do I report a problem in a lesson?
Email [email protected] with the course and lesson name. We read every report and correct the lesson.
Start MongoDB Fundamentals today
Every lesson has audio and captions in English, Hindi, Telugu, Tamil, Kannada and Malayalam.
Start learning
