This is the example used in this blog post.
Can be used as simple example of how to run KrakenD and api2html too.
You need an Marvel comics API Key to run this example:
Once you have your own API Key, configure the github.com/devopsfaith/krakend-martian
extra_config section in the krakend.json
config file.
You need docker to make this example work as is (everything is compiled using docker, you don't need go)
make build_krakend
make build_api2html
This will generate 2 docker containers:
- devopsfaith/krakend:custom
- devopsfaith/api2html:latest
You can run a docker-compose up
to bring the system up.
Testing:
curl -i http://localhost:8081/character/Wolverine