This project allows users to create polls and vote on those polls. A poll code will be automatically generated once a poll is created. Guests can use the poll code to enter the voting page and vote. A result page is also included to show the result of the poll. Log in and sign up features are optional for users who wants to keep track of their polls.
Production server with gunicorn is on http://45.55.55.183:8000/.
Boot your docker app
Orchestrate the containers using
docker compose up --build
The web app now runs on http://127.0.0.1:8000
Look at web-app/example.env
Simply rename the file to .env
and change the value of SECRET_KEY
as you like
cd web-app
python -m venv venv
source venv/bin/activate
python -m install -r requirements.txt
python -m black .
This project leverages Dice Bear API, especially bottts-neutral created by Pablo Stanley. We are grateful to the team at Dice Bear.