Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 870 Bytes

README.md

File metadata and controls

22 lines (20 loc) · 870 Bytes

Epitech-Popeye

Subject

You will have to containerize and define the deployment of a simple web poll application. There are five elements constituting the application:

  • Poll, a Flask Python web application that gathers votes and push them into a Redis queue.
  • A Redis queue, which holds the votes sent by the Poll application, awaiting for them to be consumed by the Worker.
  • The Worker, a Java application which consumes the votes being in the Redis queue, and stores them into a PostgreSQL database.
  • A PostgreSQL database, which (persistently) stores the votes stored by the Worker.
  • Result, a Node.js web application that fetches the votes from the database and displays the. . . well, result. ;)

Tests result

Moulinette : 94,1%.

Grade : A

Epitech students : beware of the -42 !

Usage

sudo dockerd
sudo docker-compose up --build