DEV Community

Discussion on: How to Architect a Node.Js Project from Ground Up?

Collapse
 
lordofcodes profile image
Sujeet Agrahari

Looks great, but when your project begins to grow and one services is being used by many other controller, and services, and things are happening in a database transactions.

Only then you would realize this strucutre is not scalable.

Strucutre your project compoennt wise rather than structuring it as responsibility wise.
I have created repo for that, anyone can make changes fork or do whatever you like.
github.com/sujeet-agrahari/node-ex...