How to structure a express.js application?

前端 未结 4 2015
南旧
南旧 2020-11-30 16:28

Is there a common convention for breaking up and modularizing the app.js file in an Express.js application? Or is it common to keep everything in a sin

4条回答
  •  温柔的废话
    2020-11-30 16:49

    For maintainable routing organisation you can check out this article about the express-routescan node module and try it. This is the best solution for me.

提交回复
热议问题