The bin/www in it’s a generated file from NodeEclipse Express plugin, I keep it because it serve as single entry point: instead of lunching every Node module you can just run nodejs bin/www and all the node module are started. Plus all the ports used and the “most” of the require are centralized there. I think this is a good thing, but if there is same good practice that I’m missing we can set up the thing.
The philosophy behind the current project foldering is to give it some structure:
- view: is supposed to keep GUI files
- controllers: is supposed to keep server side module
- public/scripts: should contains script that must be imported in the view files
- routes: is for express routes modules
that’s all. Hoping this could make the project more understandable.
Any advice will be very appreciated.
Yup, node_modules does not need to stand in the repo.
I think we can keep the bin/www (we can rename it) in the repo 'cause it can be used as single entry point.
@ning-yu for the naming we are still discussing in the volumio 1.6 discussion thread