Skip to content

ecointet/HPE-VOTING-APP

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 63.9%
  • CSS 31.8%
  • HTML 1.9%
  • C# 1.2%
  • Java 0.6%
  • Python 0.2%
  • Other 0.4%