Reputation: 3556
I'm new to MeteorJS and I think it's a better alternative to the MEAN stack I used in one of my projects. I like the angular-meteor package (https://github.com/Urigo/angular-meteor) but I think it's mainly for adding AngularJS support to a MeteorJS app and not the other way around.
How would you approach adding MeteorJS to an existing AngularJS or MEAN stack app? I am thinking of creating a new MeteorJS app and install the angular-meteor package and then start importing my AngularJS modules from existing project. Is this the best approach? Can you share some tips or best practices?
Upvotes: 5
Views: 1096
Reputation: 3185
I think that for most use cases, it will be easier to create a new angular-meteor app and port your existing code into that:
In most cases this would be radically simpler and I think it will be quicker than you think. When I did that to a simple MEAN stack app, the MEAN stack app took 532 Javascript lines and the angular-meteor app took 80 javascript lines, links to the code can be found here: http://info.meteor.com/blog/thoughts-on-angular-meteor-as-a-great-mean-stack
Upvotes: 4