Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore middleware implementation in a MERN Stack Project's REST API. Discover how to apply built-in, custom, and third-party middleware to enhance your Node.js and Express backend. Learn about logging, error handling, cookie parsing, and CORS setup. Gain practical insights into securing your API and optimizing its performance through strategic middleware usage.
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