Skip to content

Angular Frontend

Sven Loesekann edited this page Feb 5, 2018 · 3 revisions

Angular Cli

The frontend uses Angular Cli for the optimized build(ng build --prod). Angular Cli offers the testing framework Karma with test stubs for the components(ng test) and Angular Cli serves the Ui during development with redeployment on change(ng serve). Angular Cli can be used to update the Ui with the update process(described in Angular-Cli repo).

Ui Features

The Ui shows the Angular features:

  • A rest service with observables and typed responses
  • A component with routing
  • A component with a table and routing links to the detail component
  • A detail component with encapsulated sub components
  • Encapsulated components with form validation
  • Tests for the root component and the validation
  • Translation to german and english (with Angular i18n)
  • The Ui is updated the the Angular modulesystem
  • The Ui uses the proxy feature of Angular-Cli to avoid Cors problems
Clone this wiki locally