Skip to content

tangzhen/hoverfly-ui

 
 

Repository files navigation

Hoverfly UI

CircleCI Join the chat at https://gitter.im/SpectoLabs/hoverfly

Hoverfly UI is the Angular 6 frontend application that is bundled with Hoverfly.

Prerequisites

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.

Getting started

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

Development server

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.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

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.

License

Apache License version 2.0 See LICENSE for details.

(c) SpectoLabs 2017.

About

Admin dashboard for Hoverfly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 68.2%
  • Vue 14.5%
  • HTML 10.0%
  • CSS 4.8%
  • JavaScript 2.4%
  • Makefile 0.1%