Middleware & Sessions
Express 4.13.3
| Intermediate
- 12 videos | 37m 33s
- Earns a Badge
Building on the Express API, explore the power of the Express Middleware. Learn how to use Middleware to interact with user input and form data, including validation, cookies, variables, and sessions.
WHAT YOU WILL LEARN
-
Describe middleware and how it helps expressInstall the express-validator middlewareUse the express-validator middleware to do input validationRetrieve and use variables passed in on the urlRetrieve form data via post variablesUse the cookie-parser middleware to set and get cookies
-
Use the body-parser middleware to parse and format data using jsonDescribe session handling with expressConfigure express-session for use in an express appCreate a session for a successfully logged-in userCheck session states and display a simple menu to users who are already logged inCreate an interface to log out a user and remove the user's session
IN THIS COURSE
-
5m 44sUpon completion of this video, you will be able to describe middleware and how it helps Express. FREE ACCESS
-
2m 29sLearn how to install the express-validator middleware. FREE ACCESS
-
3m 50sLearn how to use the express-validator middleware for input validation. FREE ACCESS
-
2m 29sDuring this video, you will learn how to retrieve and use variables passed in on the URL. FREE ACCESS
-
2m 23sIn this video, you will learn how to retrieve form data via POST variables. FREE ACCESS
-
4m 53sIn this video, you will learn how to use the cookie-parser middleware to set and retrieve cookies. FREE ACCESS
-
2m 31sIn this video, find out how to use the body-parser middleware to parse and format data using JSON. FREE ACCESS
-
3m 17sUpon completion of this video, you will be able to describe session handling with Express. FREE ACCESS
-
1m 50sIn this video, you will learn how to configure express-session to use in an express app. FREE ACCESS
-
2m 15sLearn how to create a session for a user who has successfully logged in. FREE ACCESS
-
2m 18sIn this video, you will check session states and display a simple menu to users who are already logged in. FREE ACCESS
-
3m 33sIn this video, you will create an interface to log out a user and remove the user's session. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.