O'Reilly logo
live online training icon Live Online training

Learning MongoDB - A Hands-on Guide

What You Need to Know to Succeed with MongoDB

Caleb Curry

Picking up a new database like MongoDB can be challenging when you’re not given the right foundation needed for success. Or maybe you’ve been using MongoDB but not at your full potential. This course will give you what is needed to go from first-time MongoDB user to a successful database developer.

We will start our discussion by clearly defining what MongoDB is and when you should consider it over a relational database. Throughout the course I will be showing best practices on how to use MongoDB properly and how to avoid common pitfalls.

By the end of this training you will have learned the foundational principles for all advanced database programming. Not only will you know what commands to type, you’ll understand why you are typing certain things and how things work within the MongoDB environment.

We’ll cover structured vs unstructured data, setup and getting started, CRUD commands (create, read, update, delete), aggregation, data models, transactions, indexes, security and authentication, administration, storage engines, and more.

After finishing this course, you’ll be able to create and manage a MongoDB database for your own data driven applications.

Although this course does not have any knowledge prerequisites (a beginner should be able to follow along), there will be a nutshell of information and technical detail, so come focused!

What you'll learn-and how you can apply it

  • Know when to use MongoDB over a relational database.
  • Understand the structure of a document database such as MongoDB.
  • Understand (in depth) essential CRUD statements with MongoDB. This will show you how to insert data, retrieve data, update data, and delete data.
  • Understand how to properly use a MongoDB database when it comes to data modeling and indexes.
  • Understand database administration with MongoDB. This includes security and authentication as well as topics such as data replication and sharding.
  • Leave with practical code samples that can be used as a syntax reference for future projects

This training course is for you because...

  • You understand the need for MongoDB and want to get started quickly.
  • You need to know if MongoDB is the right database for your next software project.
  • You are using MongoDB and need to know the ins and outs of how to work with it.
  • You have SQL experience and want to expand to NoSQL databases.
  • You’re fairly new to databases but you want to understand what all the hype around MongoDB is about.
  • You don’t want to waste time searching the web for information. Get all the info in one place.
  • You enjoy hands on examples that make coding fun and real.


  • General SQL skills are helpful (but not necessarily required)

Course Set-up

  • Please have a MongoDB atlas account created (https://www.mongodb.com/download-center?jmp=nav), it’s free to get started. I recommend looking around and trying to familiarize yourself with the interface.
  • I will have a MongoDB Syntax Reference Guide or Example Code available for viewing and prep.

Recommended Preparation

Recommended Follow-up

About your instructor

  • Caleb Curry is a popular tech YouTuber, full stack engineer, and ex-IBMer. Caleb has successfully taught thousands of people to code with languages such as C#, JavaScript, C, and SQL. He looks forward to the opportunity to help people experience the pleasures of coding. With a fun personality yet great attention to technical detail, Caleb’s trainings are very enjoyable and effective.


The timeframes are only estimates and may vary according to how the class is progressing

Segment 1 Getting Started (50 mins)

  • Concepts
  • Setup
  • Basics
  • more concepts
  • Summary / Concluding thoughts
  • Q&A

Break (10 min)

Segment 2 CRUD (50 mins)

  • READ
  • Summary/Concluding thoughts
  • Q&A

Break (10 min)

Segment 3: Intermediate Concepts (50 mins)

  • Data Modeling
  • Indexes
  • Aggregation
  • Transactions
  • Summary / Concluding thoughts
  • Q&A

Break (10 min)

Segment 4: Administration (50 mins)

  • Database Administration
  • Storage Engines
  • Security and Authentication
  • Replication and Sharding

Final Thoughts + Q&A (10 minutes)