Middleware in a MERN Stack Project - REST API Tutorial
Offered By: Dave Gray via YouTube
Course Description
Overview
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
Related Courses
MongoDB for Node.js DevelopersMongoDB University Introduction to Office 365 Development and APIs
Microsoft via edX Server-side Development with NodeJS
The Hong Kong University of Science and Technology via Coursera Front-End Web UI Frameworks and Tools
The Hong Kong University of Science and Technology via Coursera Introduction to MongoDB using the MEAN Stack
MongoDB via edX