02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School

MongoDB

This chapter covers MongoDB basics: finding, deleting, and updating documents, as well as managing collections and databases. It also shows how to integrate MongoDB with Node.js, using drivers and performing bulk operations, preparing you for full stack development tasks.

Duration: 55:02

Created with

Ben Fhala

Ben Fhala

Ben Fhala is the creative force and founder behind 02geek, a pioneering platform dedicated to making web development accessible to everyone. With over 18 years of experience in the industry, Ben has a deep passion for teaching and a knack for breaking down complex concepts into easy-to-understand lessons.

MongoDB Overview

What you'll learn

This chapter is dedicated to introducing MongoDB, one of the most popular NoSQL databases, and taking your full-stack development skills to the next level. Throughout these lessons, you'll learn everything you need to know to start using MongoDB for storing and managing data in your applications. Here are the key topics covered:

  1. Installing MongoDB: We'll begin by setting up MongoDB on your local machine, ensuring you're ready to create databases and work seamlessly.

  2. Creating a Mongo Database: Learn how to initiate a new database in MongoDB, preparing you to manage data effectively.

  3. Inserting Collections and Documents: Explore how to create collections and add documents to them, understanding MongoDB's schema-less structure.

  4. Adding is Great, but How Do You Find Things?: Discover how to query MongoDB and locate your data quickly. This section will introduce basic find operations, making data retrieval simple and efficient.

  5. Finding Complicated Things with Operators: Learn to master more complex queries using MongoDB's operators, which will help you filter and manipulate your data with precision.

  6. Deleting Documents, Collections, and Databases: Deleting is as important as inserting. Here, you'll explore methods to remove unnecessary or obsolete data.

  7. MongoDB Driver in Node.js: Finally, we'll bring it all together by integrating MongoDB with Node.js. You'll understand how to connect, query, and manage your database from your Node.js applications.

By the end of this chapter, you'll have hands-on experience with MongoDB and the tools needed to start incorporating it into your full-stack projects confidently. Ready to dive into NoSQL databases? Let’s get started!

Installing MongoDB

Learn how to install MongoDB, including prerequisites and key steps for setting up the database on your machine.

10:05

Creating a Mongo Database

This video guides you through creating your first MongoDB database using the built-in driver.

04:21

Inserting Collections and Documents in MongoDB

Learn how to insert collections and documents in MongoDB, and understand the core concepts of collections, documents, and database structure.

09:07

Adding is great, but how do you find things

Learn how to effectively search and retrieve documents in MongoDB collections, using commands like find, pretty, and limiting results.

05:12

Finding complicated things with operators

Learn how to use advanced operators in MongoDB to find items more accurately.

07:03

Deleting Documents, Collections and Databases

Learn how to properly delete documents, collections, and databases in MongoDB. Understand best practices and methods like deleteOne(), deleteMany(), and drop().

03:09

mongoDB Driver in NodeJS

Learn how to integrate MongoDB driver with Node.js and perform bulk operations. Final section in the full stack series.

16:05