Go to file
2017-01-09 14:44:01 -08:00
result Reword connection retry messages 2016-06-19 21:32:18 -07:00
vote Put gunicorn command in list 2016-06-18 10:56:26 -07:00
worker updating .NET to current version 1.0.0 in Dockerfile and in code 2016-10-31 15:44:27 -07:00
.gitignore Recreate worker as a .NET Core app 2016-06-11 14:26:04 -07:00
architecture.png Update architecture diagram 2016-06-19 12:14:38 -07:00
docker-compose-simple.yml moved docker-compose.yml to docker-compose-simple.yml and restored older version of docker-compose.yml with networks and volumes 2016-10-11 16:24:49 -07:00
docker-compose.yml moved docker-compose.yml to docker-compose-simple.yml and restored older version of docker-compose.yml with networks and volumes 2016-10-11 16:24:49 -07:00
docker-stack.yml adding a line where one was missing 2017-01-09 14:44:01 -08:00
dockercloud.yml Fix image names in dockercloud.yml 2016-06-18 10:49:05 -07:00
LICENSE Add LICENSE and MAINTAINERS 2016-03-31 11:49:23 -07:00
MAINTAINERS Add Mano as a maintainer 2016-10-20 10:25:10 +02:00
README.md Replace Java with .NET 2016-06-29 13:11:48 +02:00

Instavote

Getting started

Download Docker for Mac or Windows.

Run in this directory:

$ docker-compose up

The app will be running at http://localhost:5000, and the results will be at http://localhost:5001.

Architecture

Architecture diagram

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