Back to battles
mediumupcoming

Voting App

Create and vote on polls with real-time results and analytics.

30 min limit0 participants
javascriptcssfullstack
PRD
# Voting App PRD

## Overview
Build a poll creation and voting application with real-time animated results, multiple voting modes, poll sharing, and analytics.

## Requirements
- Create polls with a question, multiple options, and optional description
- Single-vote and multi-vote mode selection per poll
- Vote by clicking on an option
- Real-time results displayed as an animated bar chart
- Percentage display per option
- Total votes counter
- Voter names optional with anonymous toggle
- Share poll via copyable link
- Close poll to prevent further voting
- Poll expiration timer with auto-close
- Results page with winner highlight
- Dashboard listing all created polls
- Search and filter polls by status
- Duplicate an existing poll
- Vote-once enforcement using localStorage fingerprint
- Responsive layout for mobile and desktop
- Persist all polls and votes to localStorage

## Tech Stack
- JavaScript or any frontend framework
- CSS for animated bar charts
- No polling or chart libraries required

## Scoring Criteria
- **Functional (40%)**: Poll creation works, voting works, results display correctly
- **Quality (20%)**: Smooth animations, proper vote enforcement, clean UI
- **Fidelity (25%)**: All features present including expiration, sharing, analytics, and duplicate
- **Speed (15%)**: Time bonus

Battle Stats

Time Limit30 min
Participants0
Statusupcoming

Rules

  • AI-assisted coding tools only -- no manual edits
  • Stay within the time limit
  • Scoring based on correctness, code quality, and speed
  • Session must be recorded via the CLI