angular / angularfire

Angular + Firebase = ❤️
https://firebaseopensource.com/projects/angular/angularfire2
MIT License
7.67k stars 2.19k forks source link

Feat: ng add angularfire2 #1676

Closed danielsogl closed 3 years ago

danielsogl commented 6 years ago

If not already in pipeline it would be great to be able to add the angularfire 2 package by a simple ng add angularfire2.

codediodeio commented 6 years ago

I've been working with schematics for AF2 and have the following proposals. Please post ideas and feedback so we can get the ball rolling:


ng add angularfire2/schematics

ng generate component --firestore --auth

ng generate module --template <crud|login|forms> 

Generates a fully fleshed-out feature module based on a goal like CRUD, user auth, forms, etc. The idea is here is to provide a best practices example to be used as a starting point or just solve common problems. (This will be the most difficult schemtic to build and maintain)

markgoho commented 6 years ago

Has this gone anywhere?

sulco commented 6 years ago

Hey @codediodeio , I think it would be great to start even (or: especially) with having ng add angularfire2 command available that would

If you're opened to it, I would gladly help with this one (I've already prepared analogous part on other projects)

codediodeio commented 6 years ago

@sulco That would be amazing. I've not had the time recently to move this forward. Just having ng add would be a valuable addition.

sulco commented 6 years ago

Great, I'm on it then - should have a PR within the next couple of days.

sis0k0 commented 6 years ago

Heya, @sulco any updates on this? I can help if you have any problems :)

williamJmelton commented 6 years ago

@sulco I'm also willing to help out with this if needed.