Basic route is like this:
app.get(\'/\', function(req, res){
  res.send(\'hello world\');
});
Is it possible to name that route and have it
I had the same problem and decided to make a library to help me out.
Besides not hardcoding your routes, it allows me to build navigation components like breadcrumbs and I can use it server side with express or client side with Backbone or whatever.
https://github.com/hrajchert/express-shared-routes