Home

Awesome

Annon Dashboard

Build history

Annon Dashboard is a management UI for Annon API Gateway. It allows to manage configuration and review requests history.

Demo

UI Screenshow

Dependencies

Installation

Heroku One-Click Deployment

Deploy

Docker

Deployment

Dashboard can be deployed as a single container from nebo15/annon.web Docker Hub.

More information you can find in Annon Infrastructure.

Configurations

Application supports these environment variables:

Environment VariableDefault ValueDescription
PORT8080Node.js server port.
MANAGEMENT_ENDPOINThttp://localhost:4001Annon API Gateway management API endpoint.
PUBLIC_ENDPOINThttp://localhost:4000Annon API Gateway public API endpoint.
TRACER_URLnot setURL will be used in link to external requests tracer (see #42).

Docs

Dashboard works on top of Annon API Gateway management API.

Contribution

Technologies

Starting Development Environment

Start Dashboard

npm run dev ## run app localy

Start Annon Gateway (API)

docker-compose up

At the first time, API will not start because a Postgres need time to create database and etc. The official Postgres docker container is sending start signal before the full end of the starting process.

So, after failure of first time up process, exec docker-compose up one more time.

After docker-compose down you need to repeat docker-compose up twice too.

API is running at:

http://localhost:4000 - public api
http://localhost:4001 - management api

Workflow

Git flow

Every task should start a new branch. Branch should be named as task number what its corresponding. After finish work on a task, you need to create PR.

Testing

To contribute to the repository be ready to write some tests.

Pull Requests

Every task finishes with PR. Eslint, Stylelint, and tests are blocking PRs. To simplify PR review, we deploy every PR's branch automatically on Heroku.

License

See LICENSE.md.