Simple play icon Course
Skills Expanded

Fundamentals of Mongoose for Node and MongoDB

by Mark Scott

Mongoose is an open-source Node.js package that provides object modeling and structure to application data being saved to MongoDB. In this course, developers will learn to incorporate schema, models, and validation into their applications.

What you'll learn

Using Mongoose, an open-source Node.js package, you can learn to incorporate schema, models, and validation into your applications. In this course, Fundamentals of Mongoose for Node and MongoDB, you will learn a solid foundation upon which you can continue to build and become proficient developing applications which use Mongoose to communicate with MongoDB. First, you will learn to build a Mongoose schema and a model from that schema. Next, you will discover the relationship between a Mongoose model and a document instance of that model and how to query for data using a variety of helper methods and query conditions. Finally, you will explore how to make sure that data sent to the database is valid using built-in and custom validators. When you're finished with this course, you will have the skills and knowledge of mongoose.js needed to start building your own Express API services to save data to and retrieve data from MongoDB through Mongoose.

About the author

Mark is an experienced software developer, architect, team lead, and manager with more than fifteen years of experience producing applications using object-oriented methodologies. For the majority of his professional career, he has been developing web-based applications in ASP.NET with SQL Server. More recently, he has become more comfortable with the whole open-source space, especially Node.js and MongoDB. Mark is the husband of a wonderful wife, and the father of triplet girls, and feels deepl... more

Ready to upskill? Get started