Go to file
Mano Marks af9f2fec68 Merge pull request #45 from mohan08p/resultapp
Labels changes according to options
2016-11-03 11:01:50 -07:00
result Labels changes according to options 2016-11-03 05:46:52 +00:00
vote Put gunicorn command in list 2016-06-18 10:56:26 -07:00
worker Revert "Updating Worker Dockerfile" 2016-09-26 16:41:04 +01: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
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