Skip to content

Example of how to use KrakenD with a custom martian modifier and api2html to render mustache templates.

Notifications You must be signed in to change notification settings

taik0/krakend-marvel-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My first fullstack MVP

This is the example used in this blog post.

Can be used as simple example of how to run KrakenD and api2html too.

Marvel API key

You need an Marvel comics API Key to run this example:

https://developer.marvel.com/

Once you have your own API Key, configure the github.com/devopsfaith/krakend-martian extra_config section in the krakend.json config file.

Build KrakenD and api2html

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

Running the example

You can run a docker-compose up to bring the system up.

Testing:

curl -i http://localhost:8081/character/Wolverine

About

Example of how to use KrakenD with a custom martian modifier and api2html to render mustache templates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published