Go to file
2016-06-18 10:18:31 -07:00
result-app Add Node debugging 2016-06-18 10:04:44 -07:00
voting-app Use gunicorn for voting app in prod 2016-06-18 10:18:31 -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 Use gunicorn for voting app in prod 2016-06-18 10:18:31 -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 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