
What you should expect to learn from this course.
Learn how to install MongoDB on a Windows machine.
An overview of the first project. We'll build a simple CRUD application to get familiar with building routes and manipulating data using Node.js, Express.js and Mongoose.
We'll be using Postman to make changes to our Book Schema and show the changes within our browser window.
This video covers the basics of what Mongoose is and how we use it.
Mongoose provides a straight-forward, schema-based solution to model your application data. It includes built-in type casting, validation, query building, business logic hooks and more, out of the box.
In this video we learn how to create a Mongoose Schema. Then we'll discuss the different data types and how to export a Mongoose Model so its available to use in other files.
Start building our mini-app that will be able to perform create, read, update and delete operations.
We'll be using a Mongoose Book-Schema along with Express to query objects and display results.
Learn how to use the findOne() method to retrieve just one book.
How to use the req.params method for retrieving a single book
And how to create a single book route that accepts a /:id parameter to grab a single book that corresponds to our _id Model.
This video will cover how to create new Books using the POST method. We'll be using Postman to demonstrate how to how to add a new Book to our model.
This video will cover how to update and delete Books using the findOneAndUpdate method and the remove method. We'll be using Postman to demonstrate how to how to update and delete a Book.
First we'll find() a book passing in the _id parameter for the book, then we'll update or delete this book.
This project will consist of a login and success page. The point of this project is to get you more familiar with setting up a project using express, building mongoose schemas and provide examples for how to perform Validation checks and install Mongoose Plugins.
Add the Bootsnipp template to our files. Test using python simple server.
Create a Node server and add our mongoose model.
Create a controller to allow new users to register.
Setting up User controller register Part 2.
Add custom validation for requiring minimum character length for username.
Introduce the concept of Mongoose plugins and show how to hide the password when saving to database.
In this project we're going to build an app that that allows users to create Notes. Then we'll display all the notes our users have created on the front page. We'll create a filter method to display Notes by the user of our choice.
Add the folders, files and NPM modules we'll need for this app.
Learn how to use Swig as our templating framework. Include the HTML files we'll be using in our 'views' folder.
Add our User and Note models.
Add validation to ensure a user has selected a member before being able to save. Learn how to setup a 'pre' save hook to adjust the data before its saved to the database.
Setup our notes and async controllers. Create an 'allUsersMethod' to grab all users added to the application.
Add a method for creating a new Note and add a new route to our index.js file.
Get all Users and all Notes to display on the front page. Use the async module to make asynchronous calls to each collection.
Add a method to filter by member name all notes that have been added.
In this project we're going to be building a search engine
Searches will crawl through all available URL's, titles and descriptions that have been inputed by our users. This will be a MEAN stack application so it will include an AngularJS view, express routing and mongoDB database design.
We'll also be including Passport.js to give us secure, Token-based authentication for our users.
Setup our project using 'npm init'. Create our folders and files. Add our node modules.
Install bower dependencies and create our client-side files.
Setup for our Angular JavaScript files.
Fix browser errors from setup.
Setup our User and Website models. Discuss how to setup the mongoose-search-plugin.
Configure Passport.js for user authentication. Add an 'authenticate' method to our User model.
Add
register and login methods to our server side controller.
Add Auth service. Setup registration functionality within client controller. Test registering a new user.
Add Log In functionality to our app.
Setup website search methods. Includes the list, search and create methods.
Setup service and controller for allowing logged in users add new search results.
Add functionality for displaying search results in the home page when a user conducts a search.
Go from beginner to advanced by building 4 Node.js applications of increasing complexity.
This course will teach you how to build web apps from the ground up while focusing on best practices. The main technologies used will be Node.js, Express.js and MongoDB.
We'll use a variety of templating engines for our frontend. This will include Swig, Angular and plain HTML.
We'll be using Mongoose throughout this course. Mongoose is a node module built on top of MongoDB to assist in creating and handling database objects.
Project 1
Getting to Know Mongoose
Project 2
User Login App
Project 3
Meeting Reporting App
Project 4
Search Engine
After taking this course you will:
* Know how to build Full-Stack applications using JavaScript throughout.
* Learn how to setup a server and routing using Express, work with various view engines like Swig, Angular and plain HTML.
* Understand how to perform CRUD operations by building useful apps to save, update and retrieve documents from a database.
* Be able to build a MEAN-stack application from the ground up.
* Understand Mongoose methods for working with schemas, plugins, validators, and data types.