Dashboard for Apache APISIX

Clone this repo:
  1. bef6d84 feat: update pluginchart version(1.0.13) (#520) by litesun · 6 hours ago master
  2. 37ac10d feat: update plugin (#505) by 琚致远 · 12 hours ago
  3. 5175f8b Update README.md (#510) by 琚致远 · 12 hours ago
  4. 623c6d6 fix: add a config item APISIX_DEBUG_URL to support online debug (#514) by liuxiran · 12 hours ago
  5. 2047bb7 fix: update valify rules about whether enabled auth plugin in create/… (#512) by liuxiran · 13 hours ago

English | 简体中文

Apache APISIX Dashboard

Dashboard for Apache APISIX

Online Demo, Username/Password: admin.

User Guide

Please refer to User Guide

Deploy with Docker

Please refer to Deploy with Docker README

Deploy Manually

Clone the project

$ git clone https://github.com/apache/apisix-dashboard.git

$ cd apisix-dashboard

Build the manager-api

The manager-api is used to provide APIs for Dashboard, just like a bridge between the Apache APISIX and the Dashboard. Here are the steps to build it manually:

  1. We need MySQL/Golang to be preinstalled.
# e.g Initialization for MySQL, please use a more secure Password instead of 123456.
$ mysql uroot p123456
> source ./api/script/db/schema.sql
  1. Start the Apache APISIX.

Please follow this guide

  1. Check environment variables

According to your local deployment environment, check the environment variables in ./api/run/run.sh, modify the environment variables if needed.

For most users in China, we could use Goproxy to speed up downloading modules.

  1. Build
$ cd api && go build -o ../manager-api . && cd ..
  1. Run
$ sh ./api/run/run.sh &

Build the Dashboard

This project is initialized with Ant Design Pro. The following are some quick guides for how to use.

  1. Make sure you have Node.js(version 10.0.0+)/Nginx installed on your machine.
  2. Install yarn.
  3. Install dependencies:
$ yarn install
  1. Build
$ yarn build
  1. The bundled files are under /dist folder if the step 4 is successful, then we recommend using nginx to handle those files, please install nginx manually, then refer to the nginx conf compose/dashboard_conf/nginx.conf.
  2. Move files under dist folder to nginx's default html folder, then visit http://127.0.0.1 in your browser.

Development

  1. Make sure you have Node.js(version 8.10.0+)/Nginx installed on your machine.
  2. Install yarn.
  3. Install dependencies:
  4. If we want to modify the API, please refer to the config/proxy.ts file.
$ yarn install

$ yarn start

Other

  1. If you need the dashboard-1.0 which is built with Vue.js, please refer to master-vue.

  2. More information about the new dashboard and manager-api please refer to here