Shared Configs

Izanami provide the ability to share configuration between your applications and change this configuration in real time.
The configuration is just a regular json :

Then just call the api :

curl -X GET \
  'http://localhost:9000/api/configs/ragnar:lodbrok:city' \
  -H 'Content-Type: application/json' \
  -H 'Izanami-Client-Id: xxxx' \
  -H 'Izanami-Client-Secret: xxxx' | jq

And get the config:

{
  "id": "ragnar:lodbrok:city",
  "value": "{\"city\": \"Kattegat\"}"
}
The source code for this page can be found here.