This project was generated with Angular CLI version 1.2.7.
- embed ngrx for Elm-like pure functions and state mananagement: https://github.com/ngrx/platform. Learn about it here: https://blog.nrwl.io/ngrx-patterns-and-techniques-f46126e2b1e5 and: https://gist.github.com/btroncone/a6e4347326749f938510 and, for Pro members: https://egghead.io/lessons/angular-2-ngrx-store-in-10-minutes. Here is a tutorial with code example: https://www.toptal.com/angular-js/ngrx-angular-reaction-application and a compilation of examples and getting-started resources: https://github.com/btroncone/ngrx-examples. This guy has an up to date, respected set of hands-on examples: Part 1: https://medium.com/front-end-hacking/managing-state-in-angular-apps-with-ngrx-store-and-ngrx-effects-part-1-a878addba622 Part 2: https://medium.com/front-end-hacking/managing-state-in-angular-apps-with-ngrx-store-and-ngrx-effects-part-2-52cd640adad2 and Part 3: https://medium.com/front-end-hacking/managing-state-in-angular-apps-with-ngrx-store-and-ngrx-effects-part-3-99fe2e0a7082. Also by the same guy: https://netbasal.com/connect-angular-forms-to-ngrx-store-c495d17e129 and about meta-reducers: https://netbasal.com/implementing-a-meta-reducer-in-ngrx-store-4379d7e1020a and https://netbasal.com/connect-angular-forms-to-ngrx-store-c495d17e129
- dynamically create component(s) in Angular: https://netbasal.com/dynamically-creating-components-with-angular-a7346f4a982d
- avoid expensive republishing of ngrx store with .select(): https://netbasal.com/lets-talk-about-select-and-reselect-in-ngrx-store-177a2f6045a8
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.