Continuing the discussion from How can I have one file per controller?:
Being completely new to Ionic, my question is how to expand this structure to also include server-side JS - basically all the Node.js code that handles the server side of my application.
Would it make sense to create two folders directly under
js — one
client and the other
server — and have all the client-side code in this
client folder(@gregorypratt, all your folders currently under
js would now be under
client), and then the Node.js code under the
server folder? Something like this:
Or, based on your experiences, would another folder structure be more optimal in accommodating both client- and server-side code?
Thanks a lot for sharing your ideas — very helpful!