Skip to content

BertramWittrock/badminton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Poll App

A lightweight polling application built with Flask and SQLite.

Features

  • Create polls with multiple options
  • View all polls
  • Vote on polls
  • Simple and clean interface
  • SQLite database for storage
  • Docker support

Running with Docker

  1. Build the Docker image:
docker build -t poll-app .
  1. Run the container:
docker run -d -p 5000:5000 poll-app

The application will be available at http://localhost:5000

Running without Docker

  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the application:
python app.py

The application will be available at http://localhost:5000

Usage

  1. Click "Create Poll" to create a new poll
  2. Enter your question and at least two options
  3. Share the poll link with your friends
  4. View results in real-time

Data Storage

The application uses SQLite for data storage. The database file (polls.db) will be created automatically when you first run the application.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published