The vote interface is then available on port 80 on each host of the cluster, the result one is available on port 5001.
Architecture
-----
[Architecture diagram](architecture.png)
* A front-end web app in [Python](/vote) or [ASP.NET Core](/vote/dotnet) which lets you vote between two options
* A [Redis](https://hub.docker.com/_/redis/) or [NATS](https://hub.docker.com/_/nats/) queue which collects new votes
* A [.NET Core](/worker/src/Worker), [Java](/worker/src/main) or [.NET Core 2.1](/worker/dotnet) worker which consumes votes and stores them in…
* A [Postgres](https://hub.docker.com/_/postgres/) or [TiDB](https://hub.docker.com/r/dockersamples/tidb/tags/) database backed by a Docker volume
* A [Node.js](/result) or [ASP.NET Core SignalR](/result/dotnet) webapp which shows the results of the voting in real time
Note
----
Author: Nived Velayudhan
The voting application only accepts one vote per client. It does not register votes if a vote has already been submitted from a client.
nived15 / voting-app-seminar Goto Github PK
View Code? Open in Web Editor NEWSimple voting application to choose between Ansible and Openshift
License: MIT License