A matched pair of boilerplates for this stack: NestJS + Prisma + nestjs-zod + Better Auth on the backend, Next.js + TanStack Query + react-hook-form/zod + that same Better Auth setup on the frontend.
nestjs-boilerplate
git clone https://github.com/Inovetixltd/nestjs-boilerplate.git myproject-api cd myproject-api git remote rename origin upstreamRepo & README
frontend-boilerplate, branch nestjs-zod-better-auth
git clone -b nestjs-zod-better-auth https://github.com/Inovetixltd/frontend-boilerplate.git myproject-web cd myproject-web git remote rename origin upstreamRepo & README
Swap myproject-* for your actual project name. Renaming the remote to upstream leaves origin free for your project's own repo, so git fetch upstream keeps working for pulling in boilerplate updates later. Full setup docs live in each repo's own README — this page is just the map.
Baked into both boilerplates because almost every project needs them. They're also the reference examples for how code in this codebase is supposed to look — see llm/ for the rules behind them.
Industry-standard auth, built on Better Auth.
Abstracted file management, backed by any S3-compatible storage out of the box.
Websockets on Pusher, the industry-standard protocol.
An opinionated realtime notification system, ready to go.
React Email templates behind an abstracted provider, with Mailpit for e2e testing.