AI Workshop: learn to build apps with AI →
MongoDB
MongoDB is a popular NoSQL document database for modern applications

Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.


MongoDB is one of the most popular NoSQL databases, known for its flexibility and ease of use. Unlike traditional SQL databases, MongoDB stores data in flexible, JSON-like documents, making it a great choice for applications with evolving data requirements.

In this unit, you’ll learn the fundamentals of MongoDB. We’ll cover installation, working with the Mongo shell, and performing basic operations like creating databases and collections. You’ll learn how to insert, query, update, and delete documents, and understand how MongoDB differs from SQL databases. We’ll also explore how to integrate MongoDB with Node.js applications for building full-stack JavaScript projects.

MongoDB’s schemaless nature means you can store data without pre-defining its structure, which can speed up development and make your application more adaptable to changing requirements.

Lessons in this unit:

0: ▶︎ Introduction
1: The MongoDB basics tutorial
2: How MongoDB is different from a SQL database
3: How to insert multiple items at once in a MongoDB collection
4: How to remove all items from a MongoDB collection
5: How to use MongoDB with Node.js