Sarequl Basar

Full-stack developer · Bangladesh

← Work

WideCampus

A multi-tenant SaaS that runs a study-abroad agency's whole recruitment operation.

Role
Co-founder & engineer
Built
Jun – Nov 2026

The problem

Most study-abroad agencies run on spreadsheets and WhatsApp threads. Leads get lost, documents live in chat history, and nobody knows which commission is still unpaid.

What it does

A lead comes in from a web form, Facebook Lead Ads or WhatsApp. It moves through a kanban pipeline the agency configures, then becomes a student in one step, keeping the conversation and course shortlist.

Staff shortlist courses from a curated university catalog, file university and visa applications, run document checklists, and generate branded PDF prospectuses and invoices. They also track the money: commissions from universities and service charges billed to students.

Each agency gets a white-labeled student portal on a subdomain or its own domain, through Cloudflare for SaaS. Students see their applications, upload documents and download what the agency sends them.

What I built

  • WhatsApp inbox

    Meta's Cloud API in Coexistence mode, so agencies keep their existing number. Incoming messages become leads, and staff reply from one inbox for every channel.

  • Access control

    Five system roles plus custom roles, per-record sharing, and a rule that stops users granting permissions they don't have. Cached, and invalidated across processes with Redis pub/sub.

  • Catalog versioning

    Admins release, roll out and roll back university and course data across all agencies.

  • PDF generation

    Prospectuses, invoices and receipts, server-side, with switchable templates and font pairings.

  • Feedback tool

    Annotated screenshots, each linked to its PostHog session replay, feeding an admin triage queue.

  • Redesigns

    The lead, student and application detail pages, plus profile photos and hover cards.

How it's built

A TypeScript monorepo (pnpm + Turbo). NestJS on Fastify with Postgres, Drizzle ORM, and Redis + BullMQ for background jobs. Better Auth runs as two instances: staff with 2FA and passkeys, and students scoped to each agency.

React 19 with TanStack Router and Query, shadcn and Tailwind v4, in English and Bengali via Lingui. A typed SDK generated from the backend controllers is the contract between the two.

© 2026 Sarequl Basar