The best way to start a full-stack, typesafe Next.js app
The opinionated TypeScript stack: Next.js, tRPC, Tailwind, Prisma and NextAuth wired so types flow end to end.
The T3 Stack is the opinionated TypeScript web stack from create-t3-app: Next.js for the app, tRPC for typesafe client-server calls without an API layer to maintain, Tailwind for styling, Prisma or Drizzle for the database, and NextAuth for sessions. The glue is the principle, solve the problem in front of you with end-to-end types.
Why founders use it: it answers the paralysis of choice in the JS ecosystem with a coherent default where every piece shares contracts with the others. A form's submit handler knows the server procedure's input and return types because they are the same code, which deletes a whole category of integration bugs and API ceremony. The scaffolding generates the boring parts so a working full-stack app exists in minutes.
A realistic use: a new SaaS bootstrapped with create-t3-app, auth configured on day one, database migrations flowing from the schema, and tRPC procedures growing with the product, all deployable to Vercel or a container without special treatment.
Trade-offs: it is a curated opinion, server actions and newer Next.js patterns overlap with parts of it, and tRPC couples client and server to the same repo unless extractive work is done. Compare with the plain Next.js path and with the Rails-style full-stack frameworks for the monolith alternative.
Who it's for
TypeScript developers who want a batteries-included but modular full-stack starting point.
Official links
Keep exploring
6 in catalog
T3 Stack is composed by
-
Next.js
The React Framework for Production
Framework -
tRPC
End-to-end typesafe APIs
Package -
Tailwind
A Utility-First CSS Framework for Rapidly Building Custom Designs
Framework -
Prisma
Next-generation TypeScript ORM
Package -
Drizzle ORM
SQL-like TypeScript ORM
Package -
TypeScript
JavaScript With Syntax For Types
Language
1 in catalog
T3 Stack is a component of
1 in catalog