I\'m starting with NodeJS and Express 4, and I\'m a bit confused. I been reading the Express website, but can\'t see when to use a route handler or when to use
express.Router has many options:
/show route to not be the same as /Show, this behavior is disabled by default/show/ route to not the same as /show, this behavior is also disabled by defaultIn a word , express.Routercan do more things when compares to app.get(),such as middleware, moreover, you can define one more router object with express.Router()