Description
Course info
Rating
(454)
Level
Intermediate
Updated
Nov 26, 2014
Duration
1h 41m
Description

The primary goal of this course is to teach web developers who have a basic understanding of Node.js and MongoDB how to incorporate schema, models, and validation into their applications. It will also be complementary to .NET developers exploring Node.js and MongoDB who may have gone through courses such as "Node.js for .NET Developers." During this course, we will build a small Node.js application to gather daily stand-up meeting notes and store them, via Mongoose, in MongoDB. Other tools that will prove helpful, such as Postman and Robomongo, will also be used.

About the author
About the author

Mark Scott is an experienced software developer with more than fifteen years experience in IT. He is currently the Manager of Software Development for a small group of talented web developers.

More from the author
Fundamentals of Mongoose for Node and MongoDB
Intermediate
1h 54m
Nov 29, 2018
Moving Forward with Mongoose.js
Intermediate
1h 45m
Jul 18, 2017
More courses by Mark Scott
Section Introduction Transcripts
Section Introduction Transcripts

Setting Up the Demo Application
Hi my name is Mark Scott, and in this module we will discuss Setting Up the Demo Application. While it's not a primary focus of this course, it is important and useful to discuss the various Node packages that we will be using. Having the right tools available for a job can make a world of difference, so we will also briefly look at some helpful tools that will greatly assist us in building our demo application. Finally we will begin laying out the foundational parts of our Virtual Stand-up Meeting Notes application.

MongoDB
Hello I'm Mark Scott, and this module introduces some of the various MongoDB hosting options that are available, both cloud based and local hosting, and what will be used during the remainder of this course. MongoDB itself will not be deeply discussed, as this is covered in the Pluralsight course, Introduction to MongoDB, lastly we examine the document structure that will be used in our demo application.

Building the Mongoose Schema
Hi my name is Mark Scott and in this module we will begin building the Mongoose schema. In this module we'll learn that everything in Mongoose starts with a Schema. Next for those developers coming to Mongoose from a traditional relational database system background, a general comparison between relational database schema design and Mongoose schemas will be done. Simple and more complex Mongoose schema designs will be explored, including what data types or schema types are allowed in Mongoose, and in the demo we will begin laying out the schema for the Virtual Stand-up Meeting notes demo application.

Building a Model
Hi my name is Mark Scott, and welcome to this module on building a Mongoose model. In this module we will take what was learned about laying out a Mongoose schema in the previous module, and build our first modal based on that schema. We will then discuss Mongoose documents and sub documents, and the relationship between these documents and MongoDB documents within an collection. In the demo we will build out our Stand-up Meeting notes model, construct a document from that model, and save it to MongoDB.

Queries
Hi my name is Mark Scott and welcome to this module on Queries. In this module we will be looking at the various methods to retrieve and store documents from a MongoDB database. Including the model methods find, findById, findOne, and where, we will then examine some of the methods used to update and remove documents form a MongoDB collection, so let's get started.

Validation
Hi my name is Mark Scott, and welcome to this module on Mongoose Validation. this module will introduce the various Built-In Validators we have available to us in Mongoose. We will then introduce the concept of Middleware and the development of Custom Validators, next we will discuss how to handle errors produced by the validation process, and how to provide friendly error messages back to the application user. Finally we will polish off the demo application by adding in custom validation and error handling.

Wrapping Things Up
Hi my name is Mark Scott, and welcome to this module on Wrapping Things Up. In this module we will wrap up what we've learned by briefly going over some additional tools you may be interested in, and then go back over some key points from the course. Let's first take a look at some additional tools that very well could help you do your job better.