Know what happens before you apply.
NagrikFlow is a citizen-side public-service journey simulator. Instead of submitting a government application and hoping, it lets you check eligibility, prepare documents, catch inconsistencies, and preview the full process timeline — before you touch the real portal.
The MVP goes deep on one service: Indian Passport Renewal.
Next.js (App Router) · TypeScript · Tailwind CSS · shadcn/ui (Base UI) · Vitest
No backend, no database, no paid APIs — journey state persists to localStorage, and eligibility/risk/timeline logic is deterministic (no LLM calls at runtime).
src/
├── app/ Routes
├── components/ landing / shell / journey / ui
├── data/ Service content (questions, documents, rules, EN+HI)
├── lib/ Pure logic: eligibility, documents, risk-detection, timeline, action-plan
├── hooks/ Journey state + language context
└── types/ Shared types
See PROMPTS.md for a log of how the product evolved.