- [Instructor] Express gets most of its power
through middlewares that can be plugged
into the request live site to modify data
or change the flow of an application.
Let's look at a few popular ones.
They're also documented on the Express website.
Some are provided by the Express team,
some are projects on its own.
First of all, we have body-parser.
We need it to parse form data
into request.body.
Any project that has a regular form in it, needs that.
Then we have compression
and we will cover that in the last chapter.
It lets us compress HTTP responses.
We have cookie-parser,
we also will cover that in this course.
It's needed to parse cookie information
from request headers.
Then we have multer.
We will cover that as well.
Multer lets you handle multipart form data,
and you always have that when a form contains a file.
Serve-favicon is also very frequently used
to serve favicons.
Session, we will cover that in this course, as well.
It is, of course, important for all the session management
in Express.
Helmet, we will cover in the last chapter.
It helps you to secure Express applications.
And finally passport, we will spend a lot of time
with that in this course
because it lets you authenticate users in Express.