So, I recently started getting node and started working on several projects using the Express framework . I like it - I really like the syntax as an interactive jQuery developer.
However, from the point of view of the file structure of the project, I seem ignorant and, apparently, I am, perhaps, bloating things for reasons.
I have a basic project template on github: https://github.com/KingScooty/node-express-3.0-html5-boilerplate , which works pretty well for me.
And now I want to integrate Ember.js . However, I do not know how to structure directories. I think something like this:
project βββ app β βββ collections β βββ models β βββ views βββ node_modules βββ public β βββ css β βββ img β βββ js βββ routes βββ server βββ environment βββ logs
Socket io settings are included in the server folder along with all the server configuration and node environment configuration settings (development / production / production). Static files and jQuery go publicly, and the goodwill of MVC applications is included in the application folder.
But this does not seem correct if the shared folder is separated from the application folder. Not to mention how I even included various JS files in the MVC folder structure.
(Front MVC development is something that I know very little about, but this is what I am trying to learn, and also trying to integrate it into a node environment)
If someone can point me to the right way to develop MVC front end using the back end of node / socket io which would be evil!
Greetings.
-S