Module 1: Introduction to MongoDB (2 weeks)
1.1. What is MongoDB?
- Overview of MongoDB and NoSQL databases.
- Use cases and advantages.
1.2. Installing and Setting Up MongoDB
- Installing MongoDB locally.
- Connecting to MongoDB server.
Module 2: MongoDB Basics (2 weeks)
2.1. Document-Oriented Data Model
- Understanding BSON (Binary JSON).
- Document structure and data types.
2.2. CRUD Operations
- Creating, reading, updating, and deleting documents.
- Querying with MongoDB Compass and the MongoDB shell.
Module 3: Data Modeling with Mongoose (2 weeks)
3.1. Introduction to Mongoose
- What is Mongoose?
- Setting up Mongoose in a Node.js project.
3.2. Schemas and Models
- Defining schemas for documents.
- Creating models for collections.
Module 4: Advanced MongoDB and Mongoose (2 weeks)
4.1. Querying with Mongoose
- Using Mongoose to query documents.