dangrussell / angular-workshop

Learning Angular: From component state to NgRx

Home Page:https://9elements.github.io/angular-workshop/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular Counter Component

๐Ÿ“– This example is part of the free online book: Testing Angular โ€“ A Guide to Robust Angular Applications . ๐Ÿ“–

Overview

This repository builds a simple counter with Angular in three ways:

Related projects

Development server

  • Clone the repository, change into the angular-workshop directory
  • npm install
  • npm install -g @angular/cli
  • ng serve
  • Navigate to http://localhost:4200/

Running unit & integration tests

Run ng test to execute the unit & integration tests with Karma and Jasmine.

Running end-to-end tests with Cypress

Run ng run angular-workshop:cypress-run to execute the Cypress end-to-end tests. (This starts the development server automatically.)

Run ng run angular-workshop:cypress-open to start the interactive Cypress test runner.

Deployment

Run npm run deploy to the deploy the code to [https://9elements.github.io/angular-workshop/].

About

Learning Angular: From component state to NgRx

https://9elements.github.io/angular-workshop/

License:The Unlicense


Languages

Language:TypeScript 92.1%Language:HTML 3.9%Language:JavaScript 2.2%Language:CSS 1.8%