Mongoose for Application Development
Introducing Mongoose to the Technology Stack
The technology stack – Node.js, npm, MongoDB, and Express
Establishing a Database Connection
Interacting with Data – an Introduction
Model methods and instance methods
Interacting with Data – Creation
Creating and saving database entry in one step
Interacting with Data – Reading, Querying, and Finding
Approaches to find and read data
CRUD – reading user and project data
Interacting with Data – Updating
The three-step find-edit-save approach
CRUD – editing users and projects
Interacting with Data – Deleting
CRUD – deleting user and projects
Mongoose validation – the basics
Understanding validation errors
Doing it your way – create custom validation
Adding validation to our project
Population – references to other collections