➡️ - Subscribe here: https://bit.ly/3v8Mdje Learn essential concepts of Node.js and Express in just 1 hour with this tutorial. From setting up an HTTP server to creating APIs, routing, and using middleware, this video will help you master Express and level up your JavaScript skills! We begin by discussing some foundational knowledge, covering concepts like the client-server model, the HTTP protocol as well as the request-response lifecycle. Then we begin creating a Node.js project and initialising the Express library. From there we take the time to understand how Express works under the hood and dive deep into the inner workings of the library. We cover things like middleware, routing, route matching, request and response objects as well as techniques like debugging a node project and using tools like postman to make HTTP requests. Chapters ---------------------------------------------------------------------------------- 00:00 - Introduction 01:05 - Foundational knowledge 04:56 - What is Express? 05:49 - Setting up the node project 07:40 - Installing npm packages 08:54 - Creating an Express instance 09:41 - Using app.listen() to create an HTTP server 13:19 - Digging deeper into the Express instance code 18:17 - What is Middleware? 20:47 - 5 types of middleware 21:32 - Application level middleware code demo 28:11 - app.get() method 30:57 - Setting up a debugger 32:41 - Testing our middleware chain 37:19 - app.all() method 43:46 - app.post() method 45:03 - Routing in Express overview 46:53 - Route matching 48:38 - Implementing an Express.Router() 53:03 - Abstracting the Router middleware 57:50 - Built-in Middleware ------------------------------------------------------------------------------------- Node.js API Local Authentication Course: https://www.youtube.com/playlist?list=PLUUOvUPrFYcjel-IKiAQY4coJJ9EUjfcP
➡️ - Subscribe here: https://bit.ly/3v8Mdje Learn essential concepts of Node.js and Express in just 1 hour with this tutorial. From setting up an HTTP server to creating APIs, routing, and using middleware, this video will help you master Express and level up your JavaScript skills! We begin by discussing some foundational knowledge, covering concepts like the client-server model, the HTTP protocol as well as the request-response lifecycle. Then we begin creating a Node.js project and initialising the Express library. From there we take the time to understand how Express works under the hood and dive deep into the inner workings of the library. We cover things like middleware, routing, route matching, request and response objects as well as techniques like debugging a node project and using tools like postman to make HTTP requests. Chapters ---------------------------------------------------------------------------------- 00:00 - Introduction 01:05 - Foundational knowledge 04:56 - What is Express? 05:49 - Setting up the node project 07:40 - Installing npm packages 08:54 - Creating an Express instance 09:41 - Using app.listen() to create an HTTP server 13:19 - Digging deeper into the Express instance code 18:17 - What is Middleware? 20:47 - 5 types of middleware 21:32 - Application level middleware code demo 28:11 - app.get() method 30:57 - Setting up a debugger 32:41 - Testing our middleware chain 37:19 - app.all() method 43:46 - app.post() method 45:03 - Routing in Express overview 46:53 - Route matching 48:38 - Implementing an Express.Router() 53:03 - Abstracting the Router middleware 57:50 - Built-in Middleware ------------------------------------------------------------------------------------- Node.js API Local Authentication Course: https://www.youtube.com/playlist?list=PLUUOvUPrFYcjel-IKiAQY4coJJ9EUjfcP