Maybe a bit of a rails-like style. But I find myself doing this a lot in express apps. I still need to figure out a nice way to include middleware in the routes. Something like defining named ones that get invoked. Maybe on a per-action basis, rather than per route. Any ideas?