Two days. One shot. No room for error.
VoteLocal ·
I built and deployed a live voting system for the Iraqi Observatory for Human Rights (IOHR), at their official conference in Baghdad. That’s where the Council of Rights and Freedoms was launched, with dozens of organisations and stakeholders in the room.
People scanned a QR code, picked their candidates, and the results showed up live on a projected dashboard. Simple on the surface. A lot of engineering underneath.
What made it different
There was no staging environment. No “we’ll fix it tomorrow”. The system had to work, in a room full of people, the first time.
I fixed problems on the spot, the ones I expected and the ones I didn’t. At the same time I was the speaker, and I was coordinating the whole process. Doing both taught me something no side project ever could: know your system well enough to stay calm when something goes wrong in front of an audience.
I also made real product calls under pressure. I accepted a known trade-off to protect the vote, and handled the edge cases by hand, live.
How it was built
For voters it was easy. Scan the code, see the candidates with their photos, pick 1 to 7, submit. Under a minute, from any phone.
For the organisers it was a different story. A live dashboard showed the counts and re-ranked the candidates with every new vote. A separate audit page showed each submission as it arrived, with a suspicion score that flagged possible double votes from the device fingerprint, IP address and timing. A flagged vote could be deleted on the spot, and the dashboard updated straight away.
The whole thing was self-contained. No internet, no cloud, no third-party services. One laptop, serving the room over a local hotspot.
The decisions
- Blocking a second vote uses a localStorage id per device, not hardware fingerprinting. The fingerprint is only a soft signal for the audit log. I put voting integrity ahead of convenience. In a supervised room, the occasional false positive is a fair price, and the supervisor resolves it on the spot. That’s how it played out on the day.
- Live updates use Server-Sent Events, one open connection per client, with one module managing all the streams.
- The rules are settings, not code. Number of candidates, how many you can pick, the board’s gender rules, voting time and export format can all change without touching the core.
The result
First live deployment. Clean delivery. A lot learned.
If your organisation needs an election run the same way, I can host it and adapt it for you. Get in touch.
The full case, with what’s measured and what’s an estimate, is here: VoteLocal.
Looking for a developer, or have a project?
You're in the right place.