Skip to content

nenadilic84/example-voting-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instavote

Getting started

Download Docker for Mac or Windows.

Run in root directory:

$ docker-compose up

The vote app will be running at http://localhost:5000 The results will be running 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

Tugbot Demo

Demo Flow

Tugbot Swarm Demo

Swarm Demo Flow

About

Example Docker Compose app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 75.1%
  • Shell 19.8%
  • C# 1.7%
  • CSS 1.5%
  • HTML 1.4%
  • Python 0.5%