pollz#
polls on AT Protocol. create polls, vote, see results in real time.
lexicons#
tech.waow.pollz.poll— a poll with question + optionstech.waow.pollz.vote— a vote on a poll
stack#
jetstream → backend (zig + sqlite + oauth) → frontend (sveltekit)
↑
user's PDS (oauth)
- backend: zig 0.15, zqlite, zat (AT Protocol primitives)
- frontend: sveltekit + static adapter
- infra: fly.io (backend), cloudflare pages (frontend)
develop#
# backend
cd backend && zig build -Doptimize=Debug && ./zig-out/bin/pollz
# frontend
cd frontend && pnpm dev
deploy#
just deploy # both
just deploy-backend # fly.io
just deploy-frontend # cloudflare pages