Simple CRUD service that can be used to build demo docker images and for kubernetes demos
There are 7 endpoints
/health-> Check if the application is running/register?name-> Register a candidate, take query parametername, ex - >/register?name=sandeep/candidates-> Returns a list of registered candidated/vote/{candidate_name}-> votes forcandidate_name/winner-> Returns the candidate with most votes/crash-> Crashes the application/version-> Returns the app version
This is automatically built as a docker image. To download the docker image
docker pull sandyjswl/vote-app:latestdocker run -d -p 5000:5000 sandyjswl/vote-app:latest