/opta-sandbox

opta deployment sandbox

Primary LanguageGo

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!

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

Deploying 🚀