Skip to content
Open to new opportunities

Mainak DasSenior Full Stack Engineer

I build fast, accessible, end-to-end type-safe products with React, Next.js and TypeScript.

Portrait of Mainak Das
Years of experience
5+
Engineers mentored & led
8
Production platforms shipped
6

What I do

More about me

Senior full stack developer with 5+ years of experience building and optimizing scalable web applications, AI-powered automation tools, and customer-facing products. I care about performance, accessibility, developer experience, and type safety that holds from the database all the way to the UI.

Featured work

All work

Better Journal

Private journaling with search, a calendar and a writing dashboard

2026

A journaling app built around the question "what did I actually write this year?" — a rich-text editor with autosave, full-text search across every entry, a month/week/day calendar of what was written when, and a dashboard that turns a year of writing into streaks, a contribution heatmap and word counts.

  • End-to-end typed RPC with oRPC over Prisma 7 and PostgreSQL — the client imports the router type, never the implementation, so a renamed field is a compile error at the call site rather than a runtime surprise.
  • Authorization expressed as a query predicate instead of a check on the result: ownership lives in the WHERE clause, so there is one round trip and no window in which a resource can change hands between the check and the write.
  • Timezone-correct day bucketing — the reader's zone is an explicit input and every day boundary goes through one helper, so a note written at 02:00 IST files under the right date instead of the previous one.
  • A month/week/day calendar backed by a single capped range query, with the selected day and view derived from the URL so back/forward navigates it and a day view is linkable.
  • Postgres full-text search via a generated tsvector column and GIN index — stemming, ranking and highlighted snippets with no second datastore to run or sync.
  • 226 Vitest tests against a real Postgres rather than a mocked Prisma client, covering cross-tenant access, DST-boundary day windows and search ranking, with lint → typecheck → test → build in CI on every push.
  • Next.js 16
  • React 19
  • TypeScript
  • oRPC
  • Prisma 7
  • PostgreSQL
  • Clerk
  • TanStack Query
  • Plate
  • Vitest

Tutor OS

Multi-tenant SaaS for tuition & coaching centers

2026

A production multi-tenant platform where owners run their centre — fees, attendance, exams, notes — and students get their own scoped view of the same data.

  • Architected on Next.js 16 (App Router, React 19), TypeScript, oRPC and Prisma 7 over PostgreSQL (Neon) — end-to-end type safety from database to UI with no hand-written API types or fetch clients.
  • Organization-based multi-tenancy and RBAC (owner/admin vs. student) via Clerk, enforced at both the page and RPC layers, with role-branched routing that reuses shared routes and components.
  • Fee management with dues computed on the fly and never materialized, keeping owner and student views consistent — plus Razorpay payments with signature-verified webhooks.
  • Attendance tracking, session logging, exam grading and role-specific KPI dashboards with trend charts (Recharts), and a notes system with file attachments via UploadThing.
  • Server-first architecture: React Server Components, server-only auth guards and query prefetching.
  • Next.js 16
  • React 19
  • TypeScript
  • oRPC
  • Prisma 7
  • PostgreSQL
  • Clerk
  • Razorpay
  • Recharts

Where I've worked

Full timeline
  1. Software Developer · Codemancers

    Oct 2021 — Feb 2026

    Owned frontend architecture across several customer-facing products, led a small team, and pushed end-to-end type safety and testing into everything we shipped.

    • Next.js
    • TypeScript
    • React
    • Express
    • Prisma
    • PostgreSQL
  2. Software Developer Intern · CXDeployer

    Aug 2021 — Sep 2021

    Built customer journey tooling and the authentication layer for a CX platform.

    • React
    • Redux Toolkit
    • Express.js
    • MongoDB
    • JWT

Latest writing

All posts

Have something in mind?

I'm open to new opportunities — full-time roles, contract work, or just a conversation about a hard frontend problem.