Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amercier/angular-tour-of-heroes

Angular Tour of Heroes tutorial with testing
https://github.com/amercier/angular-tour-of-heroes

angular angularjs ci continuous-integration tour-of-heroes travis-ci

Last synced: 8 days ago
JSON representation

Angular Tour of Heroes tutorial with testing

Awesome Lists containing this project

README

        

# Angular Tour of Heroes tutorial with testing

> This project illustrates Angular's [Tour of Heroes tutorial](https://angular.io/tutorial)
with Continuous Integration, running unit and end-to-end tests on [Travis CI](https://travis-ci.org/).

[![Build Status](https://travis-ci.org/amercier/angular-tour-of-heroes.svg?branch=master)](https://travis-ci.org/amercier/angular-tour-of-heroes)
[![Test Coverage](https://img.shields.io/codecov/c/github/amercier/angular-tour-of-heroes/master.svg)](https://codecov.io/github/amercier/angular-tour-of-heroes?branch=master)

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.7.4 (updated to 6.0.1).

[![Angular version](https://img.shields.io/badge/angular-6.0.1-blue.svg)](./package.json#L15-L23)
[![Dependency Status](https://img.shields.io/david/amercier/angular-tour-of-heroes.svg)](https://david-dm.org/amercier/angular-tour-of-heroes)
[![devDependency Status](https://img.shields.io/david/dev/amercier/angular-tour-of-heroes.svg)](https://david-dm.org/amercier/angular-tour-of-heroes#info=devDependencies)

## Changelog

- Tutorial 2/b - Create a new application - [199bf66](https://github.com/amercier/angular-tour-of-heroes/commit/199bf66eab0cb73685c465940babbfb2eab53a30)
- Added Travis CI configuration - [fbf17cc](https://github.com/amercier/angular-tour-of-heroes/commit/fbf17cca5f867b5a0e00f1bf3ee68953571149ed)
- Implemented tutorial with testing in mind - [#1](https://github.com/amercier/angular-tour-of-heroes/pull/1)
- Updated Angular to version 6 - [#4](https://github.com/amercier/angular-tour-of-heroes/pull/4)
- Updated Angular to version 7 - [#14](https://github.com/amercier/angular-tour-of-heroes/pull/14)

## 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.

## 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](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).