generator-cg-angular icon indicating copy to clipboard operation
generator-cg-angular copied to clipboard

restangular + http-rewrite-middleware + cg-angular?

Open eduardoinnorway opened this issue 9 years ago • 4 comments

Well I can't find a forum with general questions, so sorry posting here in issues. I can't get http-rewrite-middleware to play nice with cg-angular, anyone making it working here?

And secondly It would be awesome if cg-angular could come with a optional restangular startup project, as we get the ui-router option, then http-rewrite-middleware really would have a role here.

Today almost all my projects starts up with cg-angular, ui-router, (grunt-connect-rewrite that I try to change to http-rewrite-middleware), angular-deferred-bootstrap and restangular, I would love to scaffold this from one command + some options :)

See: http://stackoverflow.com/questions/29802171/http-rewrite-middleware-with-generator-cg-angular

eduardoinnorway avatar Apr 22 '15 15:04 eduardoinnorway

Btw, how about a gitter.im for generator-cg-angular for handling this type of questions? I know some of the Github projects that really like to have all the discussions there.

eduardoinnorway avatar Apr 22 '15 15:04 eduardoinnorway

I created a pull request to fix the rewrite issue a while back: https://github.com/cgross/generator-cg-angular/pull/90

That said, to be 100% honest I would recommend not using this project at all. Either write your own or find another one. This one seems to be abandoned and takes more work than it's worth to bring up to speed to use with modern versions of all it's dependencies.

pusherman avatar Apr 23 '15 14:04 pusherman

Well, I might have to sadly agree with you, I really love the concept of cg-angular, but know Im looking into cc-angular, because we are going over to cucumber tests, but big issue it is cg-angular in base and if you actually try out to cucumber-js in cg-angular, then you will realise that there is io.js only dependency somewhere down that dependency road :)

I would really like to join a group to make a new improved generator based on Angular Best Practice Guidelines for Project Structure + http rewrite + rectangular + cucumber-js. A modern one aimed on rest services with a fully mocked test examples etc...

eduardoinnorway avatar May 08 '15 09:05 eduardoinnorway

If anyone wants to start a new one I'll be happy to merge in the changes I've made to this generator in. Sadly my generator is now currently too heavily modified to even attempt to merge them back upstream.

pusherman avatar May 08 '15 15:05 pusherman