Create simple polls, share them, and see live results. No login needed. Data is stored in a local JSON file.
npm install
npm run build
npm start- Create a poll with a question and 2-6 options
- Share the poll link with others
- People vote once per browser session
- Results update as votes come in
| 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 |
TypeScript, JavaScript, Node.js