Developer builds a 12-axis political quiz with Vite, TanStack Start and Cloudflare Workers
A developer describes creating The 12 Axes, a free political quiz that scores users on twelve independent axes rather than a single left-right line. The quiz is offered in English, Spanish and Portuguese, and its statements and scoring model come from an open-source MIT-licensed project. The site is built with Vite, TanStack Start and Router, and served from the edge via Cloudflare Workers, with no database because results are encoded in shareable URLs. Ideologies and historical figures are matched to results using root-mean-square distance, with unknown axes penalised to avoid unfairly favouring figures with fewer known positions. Progress and answers are stored in the browser's localStorage, so no accounts are required.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in