DEV Community

Discussion on: Bulletproof node.js project architecture 🛡️

Collapse
 
thorstenhirsch profile image
Thorsten Hirsch

Are you sure? I don't see any conflicts. I would say that the "nodebestpractices" focus on different things than Santiago. Actually I only find these 2 points comparable to the advice given here:

1.1 Structure your solution by components
1.2 Layer your components, keep Express within its boundaries

This is very general advice. Santiago follows this advice, but goes way further and fills it with practical instructions.

Collapse
 
isakkeyten profile image
Isak Keyetn

But his structure is not by components - but by roles. He has a models folder that holds all components models and services with all components services, instead of having a componentName folder with the respectable model and service.

Thread Thread
 
santypk4 profile image
Sam

Oh yes, the good component base architecture, that's a good way to do it too!! :)