Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eduardoinnorway opened this issue Apr 22, 2015 · 4 comments
Open

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

eduardoinnorway opened this issue Apr 22, 2015 · 4 comments

Comments

@eduardoinnorway
Copy link

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
Copy link
Author

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.

@pusherman
Copy link

I created a pull request to fix the rewrite issue a while back:
#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.

@eduardoinnorway
Copy link
Author

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...

@pusherman
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants