Go to file
2016-06-18 10:49:05 -07:00
result Rename services to remove "app" 2016-06-18 10:18:53 -07:00
vote Rename services to remove "app" 2016-06-18 10:18:53 -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
architecture.png Architecture diagram 2016-06-18 10:12:34 -07:00
docker-compose.yml Rename services to remove "app" 2016-06-18 10:18:53 -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 LICENSE and MAINTAINERS 2016-03-31 11:49:23 -07:00
README.md Architecture diagram 2016-06-18 10:12:34 -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

Architecture diagram

  • 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