Say i have this code to separate routes in expressjs:
module.exports = function(express,app,client) { app.get(\'/\', function(req,res,next) {
How about express-train ? i have been using it lately, and it plays well with complex app structures.