/kong-dashboard

Dashboard for managing Kong gateway

Primary LanguageHTMLMIT LicenseMIT

Kong Dashboard

Kong is a scalable, open source API Layer (also known as a API Gateway, or API Middleware). Kong runs in front of any RESTful API and provide functionalities and services such as requests routing, authentication, rate limiting, etc.

Kong dashboard is a UI tool that will let you manage your Kong Gateway setup.

Presentation

Click thumbnails to enlarge.

Managing APIs

Listing APIs Adding API

Managing Consumers

Listing Consumers Editing Consumer

Managin Plugins

Listing Plugins Adding Plugin

Prerequisites

You will need:

  1. a running Kong gateway. https://getkong.org/install/
  2. nodejs and npm.

Installation

With Npm

# Install Kong Dashboard
npm install -g kong-dashboard

# Start Kong Dashboard
kong-dashboard start

# To start Kong Dashboard on a custom port
kong-dashboard start -p [port]

From sources

# Pull repository
git clone https://github.com/PGBI/kong-dashboard.git
cd kong-dashboard

# Build Kong Dashboard
npm install

# Start Kong Dashboard
npm start

# To start Kong Dashboard on a custom port
npm start -- -p [port]

With Docker

# Start Kong Dashboard
docker run -d -p 8080:8080 pgbi/kong-dashboard

# Start Kong Dashboard on a custom port
docker run -d -p [port]:8080 pgbi/kong-dashboard

With Vagrant

# Pull repository
git clone https://github.com/PGBI/kong-dashboard.git
cd kong-dashboard

# Start VM
vagrant up

# Ssh into VM
vagrant ssh

# Start Kong dashboard
cd /vagrant
npm start

Use

You can now browse your kong dashboard at http://localhost:8080