Skip to content

Latest commit

 

History

37 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎪 PollPulse - Interactive Voting Platform

Real-time polling platform with glassmorphism design and live analytics

Version AWS

pollpulse-demo.mp4

🌟 Project Overview

PollPulse is a modern web application that transforms ordinary polls into engaging, visual experiences. Built for Cloud Computing Capstone 2024.

Key Features:

  • 🎨 Glassmorphism UI with neon accents
  • ⚡ Real-time vote updates
  • 📊 Live analytics dashboard
  • 🏆 Gamification (badges, streaks)
  • 📱 Fully responsive design
  • 🎭 Multiple poll themes
  • 🌍 Geographic vote tracking

🏗️ Architecture

AWS Cloud
├── EC2 (t4.micro)          - Web Application
├── RDS MySQL (db.t4.micro) - Vote Storage
└── CloudWatch              - Monitoring

💻 Tech Stack

Frontend:

  • HTML5, CSS3 (Glassmorphism)
  • Vanilla JavaScript (ES6+)

Backend:

  • Node.js 18+ with Express
  • MySQL 8.0
  • Real-time updates (polling)

Cloud:

  • AWS EC2, RDS
  • 100% Free Tier compliant

📂 Project Structure

pollpulse/
├── docs/          # Documentation & diagrams
├── database/      # SQL schema & migrations
├── server/        # Backend Node.js code
├── public/        # Frontend files
│   ├── css/       # Stylesheets
│   ├── js/        # JavaScript
│   └── assets/    # Images, icons
└── infrastructure/ # AWS deployment scripts

🚀 Quick Start

# Clone repository
git clone https://github.com/Asad101001/pollpulse.git
cd pollpulse

# Install dependencies
npm install

# Configure environment
cp .env.example .env
# Edit .env with your settings

# Run locally
npm start

🎓 Educational Value

Database Concepts:

  • Complex queries with JOIN operations
  • Real-time aggregations
  • Stored procedures
  • Indexing strategies

Cloud Computing:

  • Multi-tier architecture
  • Scalability patterns
  • Security best practices
  • Cost optimization

Web Development:

  • RESTful API design
  • Real-time updates
  • Responsive design
  • Performance optimization

📊 Database Schema

Core tables:

  • polls - Poll questions and settings
  • poll_options - Answer choices
  • votes - Individual votes with metadata
  • users - Session-based user tracking
  • user_badges - Gamification rewards

See database/schema.sql for complete schema.

🎮 Gamification System

Badges:

  • 🗳️ First Vote
  • 🔥 3-Day Streak
  • ⚡ Speed Demon (vote < 5s)
  • 🌍 Globe Trotter (3+ countries)
  • 👑 Viral Creator (1000+ votes)

Leaderboards:

  • Most active voters
  • Top poll creators
  • Trending polls

📅 Development Timeline

Week 1: Core functionality

  • Days 1-2: AWS setup
  • Days 3-4: Database + Backend
  • Days 5-7: Basic frontend

Week 2: Visual polish

  • Days 8-9: Glassmorphism UI
  • Days 10-11: Gamification
  • Days 12-14: Testing + Documentation

🌐 Deployment

Detailed deployment guide in docs/deployment-guide.md

Prerequisites:

  • AWS Account (Free Tier)
  • Domain name (optional)
  • SSH key pair

Deployment time: ~2 hours

🎯 Use Cases

  1. Education - Classroom polls, quizzes
  2. Events - Live audience engagement
  3. Business - Team feedback, surveys
  4. Social - Fun community polls
  5. Research - Data collection

About

Real-time polling platform on AWS. Custom VPC, EC2 + RDS multi-tier architecture, live Chart.js analytics, and gamification. Final project submission for PITP Cloud Computing course.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages