I found the following structure as kind of standard for nodejs programs from this post:
- myApp
- app.js
- models
- views
- controllers(routes)
- public
But when I create my own custom package in nodejs via "mean package myApp". The meanio will create a slightly different structure:
- myApp
-app.js
- server
- models
- views
- controllers
- routes
- config
- public
in which app.js is not located in the same dir as models and routes. Is there any significant difference between these two structure?