Hoverfly UI is the Angular 6 frontend application that is bundled with Hoverfly.
The project is generated by Angular CLI v6.2.8, which requires Node 8.9.0 or higher, and NPM 6 or higher. You also need Hoverfly v0.12.0 or higher which can enable developer mode.
Install dependencies with npm:
$ npm install
Then run Hoverfly in developer mode. This is to enable Cross Origin Resource Sharing headers, which will enable the Hoverfly UI to successfully communicate with Hoverfly across ports.
$ hoverfly -dev
Run npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.
Run ng test to execute the unit tests via Karma.
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.
Apache License version 2.0 See LICENSE for details.
(c) SpectoLabs 2017.