Skip to content

proyIntegrador/tour-of-hero-cli

Repository files navigation

OWner info

This is a proyect to PI U de A ##Commit1: First step of tour-of-heroes tutorial, The Hero Editor ##Commit2: Master/Detail of tour-of-heroes tutorial, creating an interactive list of heroes with css styles ##Commit3: Multiple Components of tour-of-heroes tutorial, organizing our code into separate components to gain reusability. ##Commit4: Services of tour-of-heroes tutorial, implementation of a service class to provide a list of heroes, it can be shared by many components. ##Commit5: Routing of tour-of-heroes tutorial, creating router link to navigate among different components. Also create multiple components with its .html and .css temmplates to more understandable aplication structure ##Commit6: HTTP of tour-of-heroes tutorial, creating a simulation of web service api and adding some funcionality to become the app in a great app with nice details like search and add heroes input box. This is the final of tutorial, was a great experience and I am so far to know A2 framework, but is a good approximation.

TourOfHeroes

This project was generated with angular-cli version 1.0.0-beta.22-1.

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.

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. Before running the tests make sure you are serving the app via ng serve.

Deploying to Github Pages

Run ng github-pages:deploy to deploy to Github Pages.

Further help

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