piotrek-k / generator-dotnetcore-angular2-starterkit

Yeoman generator for ASP.net Core Angular 2 TypeScript applications
Other
5 stars 3 forks source link

IMPORTANT

Please note that this generator is a little outdated and shouldn't be used in production for now. I'm currently working on update. While I'm doing this, keep in mind that it can not work well enough for app developement. You shouldn't use this generator as-is as angular app base, but it can still be a source of examples of how you can implement authentication in your apps. I'm sorry for inconvenience :/

ASP.net Core Angular 2 Yeoman generator

Starter kit for all who want to use ASP.net Core with Angular 2

Welcome to ASP.net Core Angular 2 template!

Technical details about this generator:

Right now there are two templates to choose.

Personally, I recommend template2, because angular part is made there by experts ;)

Used technologies:

Installation

npm install -g generator-dotnetcore-angular2-starterkit

You'll also need Yeoman

npm install -g yo

What do you need to make project work

  1. ASP.net Core because it's .net core project
  2. Node.JS because it's used in building process
  3. NPM to install yeoman and this generator
  4. Gulp (just install it globally)
  5. Node scripts like npm, gulp, bower need to work globally in console. This is how you can do it.

Generating new project

yo dotnetcore-angular2-starterkit

After installation:

For template 1: Check out project README. Read this if you have any doubts, questions or problems. You can find it in every project you generate using this template.

For template 2: check out this GitHub page

Doesn't work?

You can debug this generator by typing

set DEBUG=yeoman:generator yo dotnetcore-angular2-starterkit

in your console. Copy error message and let me know about it by creating new issue on GitHub.

License

Apache-2.0 © [Piotrek]()