Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Repository files navigation

NagrikFlow

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.

Stack

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).

Structure

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.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages