A lightweight polling application built with Flask and SQLite.
- Create polls with multiple options
- View all polls
- Vote on polls
- Simple and clean interface
- SQLite database for storage
- Docker support
- Build the Docker image:
docker build -t poll-app .
- Run the container:
docker run -d -p 5000:5000 poll-app
The application will be available at http://localhost:5000
- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run the application:
python app.py
The application will be available at http://localhost:5000
- Click "Create Poll" to create a new poll
- Enter your question and at least two options
- Share the poll link with your friends
- View results in real-time
The application uses SQLite for data storage. The database file (polls.db
) will be created automatically when you first run the application.