Ask HN: How do you structure your Node.js[/Express] applications?

2 points by andreasklinger ↗ HN
In the world of rails there is a clear approach on all aspects of the application. In Node.js this is missing.

Over the time I noticed that many developers have very different structural approaches. Is there a best practice? I couldn't find it so far.

Eg. I do have functions i use in frontend and backend. And use the same templating lang (jade) in both. But i usually have no idea how to structure the directories (and make it up as we go along)

What are your best practices?

- Directory structure - Modules - Template structures - Code - etc

Thanks for your input.

0 comments

[ 4.0 ms ] story [ 7.9 ms ] thread

No comments yet.