AI, Data Science & Cloud Certificates from Google, IBM & Meta
Power BI Fundamentals - Create visualizations and dashboards from scratch
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This tutorial teaches how to apply built-in, custom, and third-party middleware in a Node.js and Express REST API for a MERN stack project. It covers request logging, custom error handling, cookie parsing, and CORS configuration.
Syllabus
Intro
Welcome
What is Middleware?
Quick Corrections & Starter Code
Built-in Middleware
Custom Log Middleware
Custom Error Handler Middleware
cookie-parser 3rd party middleware
Understanding CORS
Setting up CORS middleware
Securing CORS for our MERN Stack Project
Taught by
Dave Gray