More in to Node Js…

black red
404 __ A Journal
Published in
1 min readMay 9, 2019

How did I spend this day? Did I continue with my new found fascination? Oh yeah!

My TL raised a question on why we use ‘next’ parameter in the routing function along with req and res. That’s when I learned about ‘Middleware’, which is nothing but a set of functions executed between request and response, and has the ability to alter them.

Especially, it’s made clear to me that we use ‘app.use()’ to implement the middleware throughout all the routing functions.

Well, I have downloaded some courses to create a web application using Node Js, Express, and MongoDb.

If things go as planned, I’ll be somewhat proficient in backend development by the end of this month.

Yeahh….

--

--