Separating file server and socket.io logic in node.js

后端 未结 4 1241
栀梦
栀梦 2020-12-04 05:58

I\'m fairly new to node.js and I\'ve found its quite complicated separating a project into multiple files as the project grows in size. I had one large file before which ser

4条回答
  •  萌比男神i
    2020-12-04 06:35

    I have had a crack at this as well and I am fairly happy with the result. Check out https://github.com/hackify/hackify-server for source code.

提交回复
热议问题