An open API service indexing awesome lists of open source software.

https://github.com/shubhamv108/kong-demo

Sample application demonstrating Kong plugiuns in Lua.
https://github.com/shubhamv108/kong-demo

docker kong kong-api-gateway kong-plugin lua nginx

Last synced: 5 months ago
JSON representation

Sample application demonstrating Kong plugiuns in Lua.

Awesome Lists containing this project

README

          

# Setup
```shell
make up
```

### Teardown
```shell
make down
```

### Testing
#### Pongo
```shell
curl -Ls https://get.konghq.com/pongo | bash
```

#### Start Dependencies for testing - Postgres
```shell
pongo up
```

#### Kong gateway Container
```shell
pongo shell
```

#### DBMigration
````shell
kms
````

#### PluginAvailable
```shell
curl -s localhost:8001 | \
jq '.plugins.available_on_server."header-logger"'
```

##### exit pongo shell
````shell
exit
````

##### run test
````shell
pongo run
````