#Code structuring modules architecture
8 messages · Page 1 of 1 (latest)
you can use mvc design pattern
I saw that this is the best practice
Check Nodejs best practices github
i dont know, i only saw MVC [model controller, view]or MVT [model view template ]design pattern
https://github.com/goldbergyoni/nodebestpractices#-11-structure-your-solution-by-components
you can check this repo
it has more than 80k star describing the nodejs best practices
i prefer my database query should be in different file [model folder], not in component folder, its easy for me to update my node project