Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/spectolabs/hoverfly-ui

Admin dashboard for Hoverfly
https://github.com/spectolabs/hoverfly-ui

admin angular api-simulation control-panel dashboard front-end hoverfly javascript js service-virtualization testing-tools

Last synced: about 2 months ago
JSON representation

Admin dashboard for Hoverfly

Awesome Lists containing this project

README

        

# Hoverfly UI

[![CircleCI](https://circleci.com/gh/SpectoLabs/hoverfly-ui.svg?style=shield)](https://circleci.com/gh/SpectoLabs/hoverfly-ui) [![Join the chat at https://gitter.im/SpectoLabs/hoverfly](https://badges.gitter.im/SpectoLabs/hoverfly.svg)](https://gitter.im/SpectoLabs/hoverfly?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Hoverfly UI is the Angular 6 frontend application that is bundled with [Hoverfly](https://github.com/SpectoLabs/hoverfly).

## Prerequisites
The project is generated by [Angular CLI](https://github.com/angular/angular-cli) v6.2.8, which requires Node 8.9.0 or higher, and NPM 6 or higher.
You also need [Hoverfly](https://github.com/SpectoLabs/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](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/).
Before running the tests make sure you are serving the app via `ng serve`.

## License

Apache License version 2.0 [See LICENSE for details](https://github.com/SpectoLabs/hoverfly-ui/blob/master/LICENSE).

(c) [SpectoLabs](https://specto.io) 2017.