Api server - martinbalke-401-adavanced-js/seattle-javascript-401n14 GitHub Wiki
api server
Router params is a powerful tool that allows you to modify the parameters of your website in a Middleware function. I see this being the most useful in the case of verification of the inputed data. You can use a router.param function to verify the data with mongoose middleware before passing it on to your actual route or attempting to insert it in to your database.