/instavote

Instavote - Example Voting Application. Forked from Docker Samples Org.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Example Voting (Instavote) App

=========

Getting started

This is a Polyglot application (python/node/java) that will be used to demonstrate some of the common Continous Integration and Continous Delivery practices by leveraging Github Actions](https://docs.github.com/en/actions).

Architecture

Architecture diagram

  • A Python webapp that lets you vote between two options
  • A Redis queue that 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 that shows the results of the voting in real time

Note

The voting application only accepts one vote per client. It does not register votes if a vote has already been submitted by a client.

Example

Example