blockstack-app-generator icon indicating copy to clipboard operation
blockstack-app-generator copied to clipboard

Create an Angular2 generator

Open estermer opened this issue 7 years ago • 6 comments

Obviously the best way to reach more developers is to make a quick start in as many languages and frameworks as we can. Angular2 is a popular framework so it would be nice to have a generator for this framework.

estermer avatar Aug 17 '17 13:08 estermer

I plan to use Angular for a new app, I probably can do this alongside ;)

vsund avatar Aug 17 '17 13:08 vsund

nice, yeah I already started this but I am not far in, I would love to see how you do this if you want to take it. I have been wanting to learn angular 2 for a while so I figured this would be nice to do as a learning opportunity.

estermer avatar Aug 17 '17 13:08 estermer

Not really in either, happy to work together with you on that 🎉

vsund avatar Aug 17 '17 13:08 vsund

ok cool let me get my current work in to my fork so we can work on it together here: https://github.com/estermer/blockstack-app-generator

also here is the link to the app itself to get it working and as the changes are made I will integrate the changes to the generator folders in my fork

estermer avatar Aug 17 '17 13:08 estermer

@mrjmd

jackzampolin avatar Jan 10 '18 21:01 jackzampolin

Instead of having a full app yeoman generator my idea here would be to develop a series of pieces in Angular that form a schematics collection that can be integrated with the Angular CLI. That way we can give more flexibility for people to use, for example, ng g blockstack-app and get a fully featured blockstack app scaffolded, or something like ng g blockstack-auth-service to add a blockstack authentication service to an existing project.

I've got some experience generating schematics, so I think the first steps would be:

  • Get a list of services / interfaces / components etc we would like to build.
  • Each of us can either collaborate on them or just work on a different one.
  • As completed we can convert them into schematics and build a collection.

I started building an auth service but haven't had time to get back to it yet. I know @vsund has worked on the typings for blockstack.js that we will need as well.

mrjmd avatar Jan 10 '18 21:01 mrjmd