# kong-dashboard **Repository Path**: learning007/kong-dashboard ## Basic Information - **Project Name**: kong-dashboard - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: 1.0 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-04-28 - **Last Updated**: 2021-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Kong Dashboard [**Kong**](https://getkong.org/) 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. ## Compatibility matrix | Kong version | Kong-Dashboard version | |---------------------------|-----------| | 0.6.x, 0.7.x, 0.8.x, 0.9.x|1.x.x | ## Presentation Click thumbnails to enlarge. ### Managing APIs [![Listing APIs](screenshots/apis_list_thumbnail.jpg)](screenshots/apis_list.jpg?raw=true) [![Adding API](screenshots/api_add_thumbnail.jpg)](screenshots/api_add.jpg?raw=true) ### Managing Consumers [![Listing Consumers](screenshots/consumers_list_thumbnail.jpg)](screenshots/consumers_list.jpg?raw=true) [![Editing Consumer](screenshots/consumer_edit_thumbnail.jpg)](screenshots/consumer_edit.jpg?raw=true) ### Managin Plugins [![Listing Plugins](screenshots/plugins_list_thumbnail.jpg)](screenshots/plugins_list.jpg?raw=true) [![Adding Plugin](screenshots/plugin_add_thumbnail.jpg)](screenshots/plugin_add.jpg?raw=true) ## Prerequisites You will need: 1. a running Kong gateway. https://getkong.org/install/ 2. nodejs and npm. ## Installation ### With Npm ```bash # Install Kong Dashboard npm install -g kong-dashboard@v1 # Start Kong Dashboard kong-dashboard start # To start Kong Dashboard on a custom port kong-dashboard start -p [port] # To start Kong Dashboard with basic auth kong-dashboard start -a user=password # You can set basic auth user with environment variables # Do not set -a parameter or this will be overwritten set kong-dashboard-name=admin && set kong-dashboard-pass=password && kong-dashboard start ``` ### From sources ```bash # Pull repository git clone https://github.com/PGBI/kong-dashboard.git cd kong-dashboard git checkout 1.0 # Build Kong Dashboard npm install npm run build # Start Kong Dashboard npm start # To start Kong Dashboard on a custom port or with basic auth npm start -- [-p port] [-a user=password] ``` ### With Docker [![](https://images.microbadger.com/badges/image/pgbi/kong-dashboard.svg)](https://microbadger.com/images/pgbi/kong-dashboard "Get your own image badge on microbadger.com") ```bash # Start Kong Dashboard docker run -d -p 8080:8080 pgbi/kong-dashboard:v1 # Start Kong Dashboard on a custom port docker run -d -p [port]:8080 pgbi/kong-dashboard:v1 # Start Kong Dashboard with basic auth docker run -d -p 8080:8080 pgbi/kong-dashboard:v1 -a user=password ``` ### With Vagrant ```bash # Pull repository git clone https://github.com/PGBI/kong-dashboard.git cd kong-dashboard git checkout 1.0 # Start VM vagrant up ``` ## Configuration When browsing Kong-Dashboard, you will be asked to provide the URL of your Kong node. If you're hosting Kong on your local machine, the "Kong node URL" is not "http://localhost:8001". It will be your machine/LAN IP, for example: "http://192.168.x.x:8001" ## Use You can now browse your kong dashboard at http://localhost:8080