Sign inSign up

e770r/ekow

By e770r

•Updated about 5 years ago

docker image for ekwo api

Image
0

1.0K

e770r/ekow repository overview

⁠Ekow

A simple api backed by redis and deployed using opta⁠

⁠Running

  • git clone https://github.com/s1ntaxe770r/ekow

  • cd ekow && docker-compose up -d

⁠Create an entry

curl -d '{"key":"12","value":"false"}' -H "Content-Type: application/json" -X POST http://localhost:8080/set
⁠Response
{
  "SUCCESS": {
    "key": "12",
    "Value": "false",
    "status": "SUCCESS"
  }
}

⁠Retrive the entry

 curl -d '{"key":"12"}' -H "Content-Type: application/json" -X POST http://localhost:8080/get | jq
⁠Response
{
  "SUCCESS": {
    "key": "12",
    "value": "false"
  }
}

⁠OR!

:mag: explore the swagger docs at http://localhost:8080/swagger/index.html⁠

⁠Deploying :rocket:

Tag summary

Content type

Image

Digest

Size

13.3 MB

Last updated

about 5 years ago

docker pull e770r/ekow