Are there any open source web applications written in Node?
I want to see how other people structure their node apps.
The biggest ones I know are Cloud9 and Calipso.
As of myself, I usually, break down code, if it is more than a certain amount that makes me very much frustrated(about 500 lines) and I put each file for one purpose. For example one class per file. As of making directories, beside the general architecture(MVC for example), I usually breakdown the files, and only putting the ones that need others in one directory. Trying to make everything isolated, and work by itself on testing.
Edit: npm and it's website are also good examples.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With