Nodejs/Expressjs app structure

后端 未结 3 1623
猫巷女王i
猫巷女王i 2020-12-12 14:58

Say i have this code to separate routes in expressjs:

module.exports = function(express,app,client) {

    app.get(\'/\', function(req,res,next) {
               


        
3条回答
  •  遥遥无期
    2020-12-12 15:14

    How about express-train ? i have been using it lately, and it plays well with complex app structures.

提交回复
热议问题