Angular Tour of Heroes

The Tour of Heroes tutorial covers the fundamentals of Angular.

In this tutorial you will build an app that helps a staffing agency manage its stable of heroes.

This basic app has many of the features you'd expect to find in a data-driven application. It acquires and displays a list of heroes, edits a selected hero's detail, and navigates among different views of heroic data.

This project reinforce skills such as:

  1. Use built-in Angular directives to show and hide elements and display lists of hero data.
  2. Create Angular components to display hero details and show an array of heroes.
  3. Use one-way data binding for read-only data.
  4. Add editable fields to update a model with two-way data binding.
  5. Bind component methods to user events, like keystrokes and clicks.
  6. Enable users to select a hero from a master list and edit that hero in the details view.
  7. Format data with pipes.
  8. Create a shared service to assemble the heroes.
  9. Use routing to navigate among different views and their components.

Preview

Heroes Dashboard Heroes List
Heroes Dashboard Heroes List
Heroes Details Navigation Diagram
Hero Details Navigation Diagram

Usage Guide

  1. You need to install the dependencies:
npm install
  1. You can use 'compodoc run' to start building your documentation:
npm compodoc run

Configuration

  1. Change compodoc theme:
compodoc -p <tsconfig.json_path> --theme <theme_name>
  1. Add assets folder to insert images into Markdown files:
compodoc -p <tsconfig.json_path> --a <assets_path>

Dependencies:

@angular/animations : ^7.0.0
@angular/common : ^7.0.0
@angular/compiler : ^7.0.0
@angular/core : ^7.0.0
@angular/forms : ^7.0.0
@angular/http : ^7.0.0
@angular/platform-browser : ^7.0.0
@angular/platform-browser-dynamic : ^7.0.0
@angular/router : ^7.0.0
@angular/upgrade : ^7.0.0
angular-in-memory-web-api : ^0.6.0
core-js : ^2.5.4
rxjs : ^6.3.0
zone.js : ~0.8.26

result-matching ""

    No results matching ""