/Voting-app

#docker #kubernetes

Primary LanguageC#

Voting-app

  • front-end web app in Python which lets you vote between two options
  • Redis which collects new votes
  • .NET worker which consumes votes and stores them
  • Postgres database backed by a Docker volume
  • Node.js web app which shows the results of the voting in real time

The voting application only accepts one vote per client browser. It does not register additional votes if a vote has already been submitted from a client.

Architecture Architecture2

Install and run the environment

Minikube

minikube start 
kubectl apply -f kubernetes-templates/.
minikube ip > on port 31000 and 31001

Delete it

minikube delete

Source: official