If you have any query or suggestions. Please let me know.
@tomvisions, you can find quite a few examples on the official docs example page: https://expressjs.com/en/starter/examples.html
Additionally, mozilla has a fairly extensive tutorial on views and mvc-related contexts here: https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/routes
nextparameter, is it still considered a middleware?
next, and the handler function must come last