In this video, explore where to find a list of potential third-party middleware and its documentation.
- [Narrator] If you didn't have enough functions built into…Express, well there are a growing list of popular middleware…available to you to add many other functions…to your web server.…Let me show you where you can find them…and how you would use them with an example.…So go to expressjs.com/en/resources/middleware.html.…So once you get to this page, you'll see a list of all…the middleware that Express actually promotes.…So as you can see, there are tons of packages available…to add functionality to your web server.…
So, for example, you have the compression, you have a…cookie parcer, cookie sessions, cores,…and a whole bunch of em.…So let's say, for example, you want to do favicons…in your web server.…You can use the serve-favicon middleware…to add a little icon to your application, like so.…So if you click on serve-favicon, you'll get more details…as to how to install it, what is the usage and some…examples of the code and this goes on for all of the…middleware that Express promotes on its site.…
So, for example, if we go to serve-static…
- Creating a basic data endpoint
- Routing with Express
- Adding a static route for file serving
- Basic middleware with Express
- Built-in middleware and error-handling middleware
- Debugging in an Express application
- Security best practices with Express
Skill Level Beginner
Building RESTful Web APIs with Node.js and Expresswith Emmanuel Henri1h 40m Intermediate
1. Setting Up Express
2. Getting Started
3. Routing with Express
4. Middleware with Express
5. Advanced Topics in Express
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.