-
Creating a Session
After watching this video; you will be able to create a session for a successfully logged-in user.
-
Creating an Express Web App for NodeJS
After watching this video; you will be able to use Express to create a simple web app.
-
Adding a View Using Jade
After watching this video; you will be able to create and add a view using Jade.
-
Adding Routes
After watching this video; you will be able to add routes to an express-generator application.
-
Configuring express-session
After watching this video; you will be able to configure express-session for use in an Express app.
-
Creating a Router Interface
After watching this video; you will be able to create a routing interface to handle requests.
-
Describing Express Routing
After watching this video; you will be able to describe how Express simplifies Routing.
-
Describing Middleware
After watching this video; you will be able to describe middleware and how it helps Express.
-
Describing Package.json
After watching this video; you will be able to describe and configure the package.json file for Express.
-
Describing Session Handling
After watching this video; you will be able to describe session handling with Express.
-
Describing the Application API
After watching this video; you will be able to describe the basics of the Express Application API.
-
Describing the Jade Template Engine
After watching this video; you will be able to describe the Jade template engine and how to create a template.
-
Describing the Request API
After watching this video; you will be able to describe and use the Express App Request API.
-
Describing the Response API
After watching this video; you will be able to describe and use the Express Response API.
-
Describing the Response Methods
After watching this video; you will be able to describe the Response API common methods.
-
Downloading a File
After watching this video; you will be able to create and use a web page that allows users to download a file from the server.
-
Exploring the Express-Generator Directories
After watching this video; you will be able to describe and explore the directory structure and files created by express-generator.
-
Handling Error Conditions
After watching this video; you will be able to create error-handling methods that respond with HTTP status codes and user-friendly error messages.
-
Installing and Using Express-Generator
After watching this video; you will be able to install and use the express-generator to create a default Express web application.
-
Installing Node; npm; and Express
After watching this video; you will be able to install the components necessary to use and develop a website using Express.
-
Installing the Middleware Express-Validator
After watching this video; you will be able to install the express-validator middleware.
-
Introducing Express
After watching this video; you will be able to describe the Express framework and its relationship with Node.
-
Keeping Session State
After watching this video; you will be able to check session states and display a simple menu to users who are already logged in.
-
Passing Control to Another Route
After watching this video; you will be able to use app.all and next() to pass control to another route.
-
Passing Data to a View
After watching this video; you will be able to use substitution in a Jade template to display data.
-
Redirecting a Response
After watching this video; you will be able to use HTTP status codes to do URL redirection.
-
Removing a Session on Logout
After watching this video; you will be able to create an interface to log out a user and remove the user's session.
-
Rendering a View
After watching this video; you will be able to render a Jade view with Express.
-
Responding with an HTTP Status Code
After watching this video; you will be able to use sendStatus() to control the HTTP status code sent to the client.
-
Running the Default Express-Generator App
After watching this video; you will be able to modify and run the default express-generator application.
-
Sending Binary Data with SendFile
After watching this video; you will be able to create and use a web page that allows users to send binary data with sendFile.
-
Setting Header Fields
After watching this video; you will be able to create fields or modify field values for the HTTP Header.
-
Using Cookies
After watching this video; you will be able to use the cookie-parser middleware to set and get cookies.
-
Using Express Middleware to Create an App
After watching this video; you will be able to use Express; sessions; and Middleware to create a web app.
-
Using Express-Validator for Input Validation
After watching this video; you will be able to use the express-validator middleware to do input validation.
-
Using Forms and POST Variables
After watching this video; you will be able to retrieve form data via POST variables.
-
Using GET Variables
After watching this video; you will be able to retrieve and use variables passed in on the URL.
-
Using HTTPS
After watching this video; you will be able to create an Express HTTPS server.
-
Using JSON
After watching this video; you will be able to use the body-parser middleware to parse and format data using json.
-
Using Regex in Routes
After watching this video; you will be able to use regular expressions to match paths.
-
Using Route Handlers
After watching this video; you will be able to use multiple handlers for a single path.
-
Using Route Paths
After watching this video; you will be able to use paths for serving simple web pages.
-
Using the Application API Settings
After watching this video; you will be able to describe and use the Express App methods.
-
Using the MVC Pattern
After watching this video; you will be able to use the model-view-controller pattern using Express.
-
Using the Router METHOD
After watching this video; you will be able to use router.METHOD to handle HTTP methods.
-
Using the Static Configuration Options
After watching this video; you will be able to configure and use the static configuration options for an Express project.
-
Using Wildcards in Routes
After watching this video; you will be able to use wildcards in routes to match multiple paths.
-
Introduction to Express
Express is a simple, yet powerful, framework for NodeJS. In this course, you will learn how to use Express, the Express API, and the powerful Routing capabilities built into Express. You will also be introduced to the express-generator and a simple Express NodeJS web app.
- start the course
- describe the Express framework and its relationship with Node
- install the components necessary to develop and deploy web apps using Express
- install and use the express-generator to create a default Express web application
- describe and explore the directory structure and files created by express-generator
- describe and configure the package.json file for Express
- modify and run the default express-generator application
- configure and use the static configuration options for an Express project
- describe the basics of the Express Application API
- describe and use the Express App methods
- describe and use the Express App Request API
- describe and use the Express Response API
- describe the Response API common methods
- describe how Express simplifies Routing
- use router.METHOD to handle HTTP methods
- use paths for serving simple web pages
- use multiple handlers for a single path
- create a routing interface to handle requests
- add routes to an express-generator application
- describe the Jade template engine and how to create a template
- create and add a view using Jade
- render a Jade view with Express
- use substitution in a Jade template to display data
- use the model-view-controller pattern using Express
- use Express to create a simple web app
-
Using Express and Express Middleware
Building on the Express API, this course demonstrates the power of the Express Middleware. In this course, you will learn how to use Middleware to interact with user input, form data, and advanced routing. This course also focuses on the features most web sites require and how Express can facilitate that functionality.
- start the course
- describe middleware and how it helps Express
- install the express-validator middleware
- use the express-validator middleware to do input validation
- retrieve and use variables passed in on the URL
- retrieve form data via POST variables
- use the cookie-parser middleware to set and get cookies
- use the body-parser middleware to parse and format data using JSON
- describe session handling with Express
- configure express-session for use in an express app
- create a session for a successfully logged-in user
- check session states and display a simple menu to users who are already logged in
- create an interface to log out a user and remove the user's session
- use wildcards in routes to match multiple paths
- use regular expressions to match paths
- use app.all and next() to pass control to another route
- create error-handling methods that respond with HTTP status codes and user-friendly error messages
- create an Express HTTPS server
- use HTTP status codes to do URL redirection
- create and use a web page that allows users to download a file from the server
- create and use a web page that allows users to send binary data with sendFile
- use sendStatus() to control the HTTP status code sent to the client
- create fields or modify field values for the HTTP Header
- use Express, sessions, and Middleware to create a web app