How to organize large Node.js projects

后端 未结 6 927
春和景丽
春和景丽 2021-01-29 20:22

What are some good ways to organize large Node.js projects?

For example, an app making use of both express.js and socket.io? This would include both application logical

6条回答
  •  一向
    一向 (楼主)
    2021-01-29 20:25

    Similar to the other blog post, I wrote one specifically about organizing Express applications. It's the method I've been using for about a year and a half. Basically, organize your applications around your data entities or any other core elements. Place logic for each of those elements in their own directories. I tried to borrow a lot from Python.

    http://rycole.com/2013/01/28/organizing-nodejs-express.html

提交回复
热议问题