Development environment for Kong plugin
This code runs a local instance of the Kong API gateway + Konga + Echo service, allowing you to test a plugin coded in Golang.
You can code your plugin in the /plugin folder, and run the environment :)
docker-compose up --build
The Konga UI will be available at: http://localhost:1337, using the default admin credentials (admin/admin123). To request the service created with the plugin, use this curl:
curl --location 'http://localhost:8000/test' --header 'test-header: value'
PS.: You may need to enable the connection in the Konga UI. Just go to "Connections" and activate the available connection.