I am working on Web app that analyze public transportation in real-time. I build an interactive map dashboard. I use : - Node.Js: for backend processing. - Angularjs & Leaflet: to work on the front end data visualization.
I'd like reorganize my project, but I couldn't find a convenient structure. I took a look at angular-seed, the official starting point for AngularJS apps. The "app" directory contains the following structure:
css/
img/
js/
app.js
controllers.js
directives.js
filters.js
services.js
lib/
partials/
Another structuring found on [ng-boilerplate][1] repo
build/
src/
app/
assets/
components/
less/
testacular/ (or karma/)
vendor/
Grunfile.js
module.prefix
module.suffix
package.json
I found this Angular Leaflet App Skeleton, it could be a good start, but how can I add Node.Js I found also two great articles :
Do you recommend using angular-leaflet-directive and Node.js, or build Angularjs/Leaflet/Node.js project ?
What is the best way to structure my project in this case ?