How a 232-page Next.js site runs with no backend, database, or server logic
A developer has published a detailed walkthrough of a fully static Next.js website — a Spanish political ideology quiz — that serves 232 prerendered pages without any database, API layer, or server-side state. All content is derived at build time from just three data files covering axes, parties, and questions, with Next.js generating every route automatically via generateStaticParams. The site ranks users against 17 political parties across 9 ideological axes using pure client-side computation, eliminating the need for server round trips entirely. To enable shareable results without storing any user data, answers are encoded directly into the URL using compact bit-packing and base64url encoding. The author argues this approach removes entire categories of backend complexity — including databases, migrations, GDPR data-processing obligations, and breach risk — without sacrificing functionality.
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