/voting-app

Voting App

Primary LanguageJavaApache License 2.0Apache-2.0

Voting App

A simple distributed application running across multiple Docker containers.

The docker-compose.yml file is configured for hybrid development using the Okteto Docker Desktop extension.

Architecture

Architecture diagram

  • A front-end web app in Java which lets you vote between Tacos and Burritos
  • A Kafka queue which collects new votes
  • A Golang or worker which consumes votes from Kafka and stores them in PostgresQL
  • A PostgresQL database
  • A Node.js webapp which shows the results of the voting in real time