← Bharat Civics
THE WORKING NOTEBOOK

Project notes.

A living record of what this guide is for, how it is built, and what we’re learning as we go.

Current direction

Roadmap

  1. Establish the site and verify the Cloudflare Workers static-assets build and deployment path.
  2. Build the Bill-to-Law interactive module and fact-check it against authoritative sources.
  3. Add the responsibility finder for Union, state, and local services.
  4. Add the Lok Sabha seat simulator, including coalition and confidence-vote scenarios.
  5. Expand the glossary: legislature, Parliament, MP, MLA, mayor, councillor, panchayat, and civics.

Build and deploy

Run npm run dev for local development. npm run build exports the static site to out/, and npm run preview serves those assets using Wrangler’s local Worker runtime.

For Cloudflare Workers Builds, use npm run build as the build command and npm run deploy as the deploy command. Wrangler deploy requires Cloudflare authentication.

Static export means server-only Next.js features and runtime API routes are outside the initial setup.