Skip to content

julianstephens/poll-anon

Repository files navigation

poll-anon

Anonymous polling app. Create a poll, share the ID, let anyone submit options and vote — no account required.

Poll Anon Screenshot

Stack

  • Frontend — React 19, TypeScript, Vite
  • UI — Chakra UI v3
  • Backend — PocketBase (self-hosted)

Getting started

1. Start PocketBase

Download PocketBase and run it:

./pocketbase serve

Import the collection schema:

./pocketbase import pb_collections.json

2. Start the frontend

pnpm install
pnpm dev

Open http://localhost:5173.

How it works

Each user gets a random ID stored in localStorage — no sign-up needed. Polls move through three phases automatically based on deadlines:

  • Submission — anyone can submit options
  • Voting — options are locked; anyone can cast one vote
  • Closed — results are visible, no further interaction

Share a poll by copying the poll ID from the detail page.

Scripts

Command Description
pnpm dev Start dev server
pnpm build Type-check and build
pnpm preview Preview production build
pnpm format Format source files with Prettier
pnpm lint Lint with ESLint

About

A web app for anonymous polls

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors