Go to file
2016-06-18 10:12:27 -07:00
result-app Add Node debugging 2016-06-18 10:04:44 -07:00
voting-app Run flask server multithreaded 2016-06-17 15:24:14 -07:00
worker Recreate worker as a .NET Core app 2016-06-11 14:26:04 -07:00
.gitignore Recreate worker as a .NET Core app 2016-06-11 14:26:04 -07:00
docker-compose.yml Add Node debugging 2016-06-18 10:04:44 -07:00
dockercloud.yml fixing bug in dockercloud.yml 2016-06-17 20:53:42 -07:00
LICENSE Add LICENSE and MAINTAINERS 2016-03-31 11:49:23 -07:00
MAINTAINERS Add LICENSE and MAINTAINERS 2016-03-31 11:49:23 -07:00
README.md Update readme 2016-06-18 10:12:27 -07: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

  • A Python webapp which lets you vote between two options
  • A Redis queue which collects new votes
  • A Java 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