Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Middleware in a MERN Stack Project - REST API Tutorial

Dave Gray via YouTube

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

Reviews

Start your review of Middleware in a MERN Stack Project - REST API Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.