arneluehrs / HPE-VOTING-APP

HPE-VOTING-APP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HPE-DOCKER LEARNING LOGO

Getting started

HPE Version (based on "Docker-voting-app") to demonstrate a micro-services App with Docker.

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 .NET 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

Customize it!

  • Edit vote/app.py
  • Edit result/views/index.html

About

HPE-VOTING-APP

License:Apache License 2.0


Languages

Language:JavaScript 63.9%Language:CSS 31.8%Language:HTML 1.9%Language:C# 1.2%Language:Java 0.6%Language:Python 0.2%Language:PHP 0.2%Language:Objective-J 0.1%Language:Shell 0.1%