Skip to content

Latest commit

Β 

History

History
89 lines (60 loc) Β· 3.43 KB

File metadata and controls

89 lines (60 loc) Β· 3.43 KB

πŸ—³οΈ VoteFlow

VoteFlow is a real-time polling platform built with the MERN stack (MongoDB, Express.js, React, Node.js). It allows users to create, share, and vote on polls with instant results visualization using charts and real-time updates via Socket.io.


πŸ“Œ Problem Statement

  • Existing polling tools lack real-time updates, making results feel static.
  • Users need a simple and user-friendly way to create and share polls.
  • Free tools often lack QR code integration and data analytics.

🎯 Goals & Objectives

Goal Objective
Real-Time Engagement Instant vote updates for all users
Ease of Use Create and share polls with minimal effort
Accessibility Mobile-first design with QR code sharing
Data Insights Visualize results with charts and basic analytics

βœ… Features

πŸ“Œ Core Features

Feature Description
Poll Creation Add questions, options, and configure poll settings
Real-Time Voting Live vote updates with Socket.io
QR Code Sharing Easily share polls with generated QR codes
Chart Visualizations See results in Pie/Bar charts (Chart.js)

πŸš€ Advanced Features

Feature Description
User Authentication JWT-based login/signup
Time-Bound Polls Automatically close polls after a deadline
Multiple-Choice Polls Allow users to select multiple options


βš™οΈ Technical Specifications

πŸ›  Tech Stack

Layer Technology
Frontend React.js, Chart.js, qrcode.react, Socket.io-client
Styling CSS Modules, Flexbox/Grid
Backend Node.js, Express.js, Socket.io
Database MongoDB (Mongoose)
Auth JWT + Bcrypt
Deployment Frontend: Netlify/Vercel, Backend: Render

πŸ“‘ API Endpoints

Endpoint Method Description
/api/polls POST Create a new poll
/api/polls/:id GET Fetch poll data
/api/polls/vote PUT Submit a vote

πŸš€ Steps to Run Locally

git clone https://github.com/MAT1018/VoteFlow.git cd VoteFlow

cd frontend

npm install

npm start

πŸ“„ Reference

πŸ“‘ Project Doc on Google Docs

πŸ“§ayaan.taimur1@gmail.com