Skip to content
Freelance 2024 — Present Solo developer · Full-stack · Ongoing

Kat-Katha — NGO Giving Platform

A full-stack giving site for a Delhi NGO — a hardened Razorpay donation pipeline with live campaign progress, plus a custom CMS the team runs themselves to publish stories, programs, and campaigns.

kat-katha-web.vercel.app
Kat-Katha — NGO Giving Platform — Freelance project by Manuj Rai
Year
2024 — Present
Type
Freelance
Role
Solo developer · Full-stack · Ongoing
Status
Live
// The challenge

What needed solving

Kat-Katha does deep, story-driven work with women and children on Delhi's GB Road, but relied on a static site only a developer could update. Giving was friction-heavy, campaign progress was invisible to donors, and every story or program change needed code.

// What I built

The solution

Built a full-stack Next.js 15 site with an end-to-end Razorpay flow — order creation, HMAC signature verification, and an idempotent settlement webhook writing to a Postgres donations ledger — feeding live per-campaign progress bars. A custom JSONB-backed CMS and admin panel let staff manage stories, programs, campaigns, team, and press without a developer, and the public site falls back to seeded content if the database is ever unavailable.

Next.js 15Vercel PostgresRazorpayResendVercel BlobJWT (jose)ZodTailwind v4Playwright
// Outcomes

What changed

  • Donors give in a few taps and get an instant thank-you email; campaign totals update live within seconds of a captured payment
  • The team self-publishes stories, programs, and campaigns through a custom admin — zero developer involvement for content
  • Donation pipeline hardened end-to-end: HMAC-verified webhooks, idempotent settlement with an append-only event audit trail, per-IP rate limits, and honeypot spam defense
  • Public pages stay up even if the database is down — cached reads gracefully fall back to seeded content
// Under the hood

Technical highlights

  1. Razorpay order → signature verify → async settlement webhook into a Postgres ledger, deduped by event id and ISR-cache-busting so progress bars refresh in ~1s
  2. Custom JSONB CMS driven by a field registry — one definition powers the admin form, validation, and seeding; writes bust per-type ISR cache tags
  3. JWT admin auth (jose) with httpOnly cookies, timing-safe credential checks, and Edge-middleware route gating
  4. Shared Zod schemas across client and server, Resend transactional email, and Vercel Blob image uploads from the admin
  5. Playwright E2E across every route and mobile viewport, Vitest units, and a CI gate (lint · format · test · build) before each Vercel deploy
// In depth

The engineering, written up

// Next step

Need something like this?

I take on a small number of projects each quarter. Let's talk if your idea fits.

// More freelance work

Karloo — Free Online Tools — case study by Manuj Rai

Karloo

Free Online Tools

A browser-first catalogue of free online tools — calculators, text utilities, developer helpers, converters, and AI-assisted workflows — built to be fast, searchable, and cheap to run.

Next.js 16 · React 19 · TypeScript

Trendverse — D2C Ecommerce — case study by Manuj Rai

Trendverse

D2C Ecommerce

A production-ready D2C storefront for the Indian market — catalogue, variants, cart, Razorpay checkout, accounts and a nine-screen admin, built to be branded and launched rather than built again. Nothing is tied to one product category.

Next.js 16 · React 19 · TypeScript

Hair Crezz — Salon Booking Template — case study by Manuj Rai

Hair Crezz

Salon Booking Template

A customizable salon-booking template — each owner gets a branded deployment with their own services, stylists, slots, payments, and SMS confirmations.

Next.js 14 · Supabase · Postgres RLS