Postman✉️ + Middlewares🧍‍♂️

Today's learning:

1. Postman is a tool used to create a backend without a front end.
2. Middleware is the middle man between the server and the routing. This middle man(middleware) takes care of logging the request, authentication and Errors in the request before they go to the routing.
3. Used the body-parser middleware to display the information I typed on a html form to be displayed in my console. It was quite complex to understand how to use body-parser and display the body via a post request. Body-parser is a pre-processing middle ware
4. Moving on with a logging middle ware
Morgan. So this was quite intresting because, this middle man allows us to log the request that comes to our server.

Popular posts from this blog

The third parameter - Event bubbling and Event capturing

Binary Sreach Algorithm : Optimized way to get the index of the mid element

Abstract classes