instavote

command module
v0.0.0-...-b819305 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

README

instavote

Instavote app for Linux Foundation training LFS261

As part of the Linux Foundation trainings, the LFS261 course re-uses one of Docker's official sample applications, called example-voting-app.

Instead of simply re-using the provided application, I built a similar one in Go and created the necessary Dockerfile and docker-compose.yml files.

The application provides:

  • a web server that allows users to choose between 2 options and vote, and pushes the votes to a Redis queue,
  • a worker that gets votes from that Redis queue and updates the MongoDB database,
  • a web server that builds the results from the MongoDB database and displays them in the browser, refreshing the results automatically.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL