/tour-of-heros

Finally committing the Tour of Heroes as a baseline

Primary LanguageTypeScriptMIT LicenseMIT

tour-of-heros

I love 🍕

Branches

0-shell

1-HeroEditor "Added Hero Comp, UppercasePipe to format name, Added FormsModule and two way binding"

2-DisplayList "set up displays list in Master-Detail using *ngFor, and *ngIf to conditionally include code"

3-Components "Created a separate reusable HeroDetailComp. Added property binding to give parent HeroesComp control over child HeroDetailComp"

4-Services

5-Routing

6-HttpClient

Michael's Steps to Git and GitHub

git checkout -b feature1

  • then do some work...
    

git add -A

git commit -m "message"

git push

  • which pushed to the feature1 branch

git checkout master

  • moved me back onto master,
  • getting ready to push to GitHub

git pull

git merge feature1

  • merging my featured branch back into master

git status

  • which tell you everything is ok and ready

git push

  • pushes master

TourOfHeros

This project was generated with Angular CLI version 7.3.9.

Development server

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.

Code scaffolding

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.

Build

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.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.