Skip to content

Nabil201-ctrl/poll-station

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poll Station

Create simple polls, share them, and see live results. No login needed. Data is stored in a local JSON file.

Setup

npm install
npm run build
npm start

Open http://localhost:4100

How it works

  1. Create a poll with a question and 2-6 options
  2. Share the poll link with others
  3. People vote once per browser session
  4. Results update as votes come in

API

Method Path Description
GET /api/polls List all polls
POST /api/polls Create a poll
GET /api/polls/:id Get poll with results
POST /api/polls/:id/vote Cast a vote

Stack

TypeScript, JavaScript, Node.js

About

Create polls and see live results with a simple web interface

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors