Skip to content

bemoshiur/NIBANDHAK

Repository files navigation

NIBANDHAK · নিবন্ধক

MOCSLA e-Licensing Platform Mailing Operator and Courier Services Licensing Authority — Government of the People's Republic of Bangladesh.

Built by TiCON System Limited.


What it is

NIBANDHAK is the full digital licensing platform for Bangladesh's courier industry, implementing every regulator-facing and operator-facing workflow defined in the MOCSLA Rules 2013:

  • 15 license categories (Inland, On-Board, International families)
  • Application draft → scrutiny → inspection → section review → authority approval → fee payment → license issuance
  • Issued license registry with QR-verifiable public lookup
  • Sub-agent (pickup point) permits, one-active-per-upazila
  • Field inspections with checklist + photo evidence
  • Payments (EPS sandbox + manual entry + idempotent webhook + auto receipt PDF)
  • Public complaints (no auth, rate-limited, file upload), compensation orders, payouts to claimants
  • Bilingual UI (English + বাংলা) with cookie-driven switcher
  • Live admin dashboard (KPIs, revenue chart, status breakdown, audit feed)
  • Reports catalog (license register, application pipeline, revenue) with CSV export

Run it locally

pnpm install
pnpm --filter @nibandhak/db seed   # demo seed for a fresh DB
pnpm --filter @nibandhak/api dev   # http://localhost:4000
pnpm --filter @nibandhak/web dev   # http://localhost:3000

Demo password for all seeded users: Demo@2026

Architecture at a glance

Layer Stack
API Hono 4 on Lambda (Node 22), tsx for local dev
Web Next.js 15 App Router, React 19, Tailwind v4, next-intl
DB PostgreSQL 16 + Drizzle 0.36 (postgres-js driver)
PDF PDFKit + qrcode
Payments EPS sandbox adapter (sha512 x-hash callback)
Auth argon2id + sessions + TOTP + mobile OTP
RBAC 91 permissions × 11 roles

Every workflow state machine is enforced twice — once in service code, once in PostgreSQL triggers — so the database can never reach an invalid state even if the service is bypassed.

Project status

Modules 0 through 10 — all 10 shipped. See PROJECT_STATUS.md for the full status table, URL inventory, and 5-minute demo path.

Built by

TiCON System Limited — Dhaka, Bangladesh For MOCSLA · Ministry of Posts, Telecommunications and Information Technology

About

NIBANDHAK — MOCSLA e-Licensing for Bangladesh's courier industry. Built by TiCON System Limited.

Resources

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors