A simple api backed by redis and deployed using opta
-
git clone https://github.com/s1ntaxe770r/ekow
-
cd ekow && docker-compose up -d
curl -d '{"key":"12","value":"false"}' -H "Content-Type: application/json" -X POST http://localhost:8080/set
{
"SUCCESS": {
"key": "12",
"Value": "false",
"status": "SUCCESS"
}
}
curl -d '{"key":"12"}' -H "Content-Type: application/json" -X POST http://localhost:8080/get | jq
{
"SUCCESS": {
"key": "12",
"value": "false"
}
}
🔍 explore the swagger docs at http://localhost:8080/swagger/index.html