Intro to Mongoose
About
This module is designed to take you through the core concepts and functionalities of Mongoose, an essential tool for any developer working with MongoDB in a Node.js environment. Through hands-on lessons, you’ll become proficient in performing Create, Read, Update, and Delete (CRUD) operations using Mongoose models. This module is designed for learners familiar with server side javascript development who are ready to begin working with a MongoDB database.
Content
| Lesson |
Skills |
| Setup |
Setting up the development environment |
| Concepts |
Understand the role of Mongoose as an Object Document Mapping (ODM) library |
| Schemas and Models |
Understand the role of schemas and models in Mongoose |
| Defining a Model |
Create and export a Mongoose model |
| Creating with a Model |
Creating documents with Mongoose’s .create() method |
| Reading with a Model |
Read documents using find(), findById(), and findOne() methods |
| Total content |
|
Level Up content
References
📖 Reference Materials