https://github.com/simlf/popeye
A simple app (like strawpoll.com) to learn how to use Docker containers
https://github.com/simlf/popeye
docker epitech java nodejs python
Last synced: 3 months ago
JSON representation
A simple app (like strawpoll.com) to learn how to use Docker containers
- Host: GitHub
- URL: https://github.com/simlf/popeye
- Owner: simlf
- License: mit
- Created: 2021-05-07T08:28:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-07T08:50:49.000Z (about 4 years ago)
- Last Synced: 2025-02-12T11:33:19.818Z (5 months ago)
- Topics: docker, epitech, java, nodejs, python
- Language: JavaScript
- Homepage: http://simonlefourn.com
- Size: 724 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Popeye

## A simple app (like strawpoll.com) to learn how to use Docker containers
There are five elements constituting the application, connected in a container :
* 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. ;)
## UsageCheck that Docker is installed on your computer and started.
``` zsh
docker-compose up
```
Then go to [localhost:5001](localhose:5001) and [localhost:8080](localhost:8080).With this project I learned how to use Docker images and Docker compose.
___
Check my [portfolio](http://simonlefourn.com) for more informations on this project.