Giter VIP home page Giter VIP logo

votingsystem's Introduction

Exercise 02 - Voting System

Voting System Architecture:

Voting System Architecture

Voting System UI:

Voting System UI

Background:

This project is a generic voting system, While the system is active, users of this system can vote for one of the options. At the end of the voting period, the option with the most votings number will win the vote. however, It worth to mention that the system is still under heavy development.

You are the DevOps engineer that support the VotingSystem dev team. Your task is to allow the dev team to spin up a local environment of the VotingSystem on their local workstation using docker-compose.

Joe is one of the members of the development team who works on the Voting System project. Below you can find some useful information on his ToDo list that may help you to accomplish your task.

Joe's ToDo List:

  1. Should add services in the docker-compose.yml for Redis and RabbitMQ services:

    1. Redis:

      • Service name: voting.db
      • The container name must be votingdb
      • Must be available in his default port
    2. RabbitMQ:

      • Service name: rabbitmq
      • Must be available in his default ports
      • the service must provide the following environment variables: user, password and vhost (all values should be defaults look here)
  2. There is a known issue with the voting.processor service... before it starts rabbitmq must be up and ready. This constraint is due to the fact that the voting.processor service is trying to establish a connection with the rabbitmq service at start time. Unfortunately, no fault tolerance mechanism where implemented yet to handle the exception that is thrown.

Goodluck!

votingsystem's People

Contributors

haimkabesa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.