Middleware in a MERN Stack Project | REST API Tutorial

Learn how to apply middleware to a MERN Stack Project. The backend of a MERN Stack Project is a Node.js & Express REST API. In this tutorial, we'll apply built-in middleware, custom middleware and 3rd party middleware.

(00:00) Intro
(00:11) Welcome
(00:20) What is Middleware?
(00:48) Quick Corrections & Starter Code
(01:56) Built-in Middleware
(04:00) Custom Log Middleware 
(14:03) Custom Error Handler Middleware
(16:56) cookie-parser 3rd party middleware
(18:10) Understanding CORS
(19:32) Setting up CORS middleware
(21:02) Securing CORS for our MERN Stack Project

🔗 All Resources for this MERN Stack Project: https://github.com/gitdagray/mern_stack_course 

#mern #mongodb #express #react #node 

MERN Stack Project for Beginners: Middleware
1.15 GEEK