Introduction
The T3 Stack
The âT3 Stackâ is a web development stack made by Theoâ focused on simplicity, modularity, and full-stack typesafety.
The core pieces are Next.jsâ and TypeScriptâ. Tailwind CSSâ is almost always included. If youâre doing anything resembling backend, tRPCâ, Prismaâ, and NextAuth.jsâ are great additions too.
You may have noticed that there are a⊠lot of pieces. Thatâs by design. Swap pieces in and out as you need - this stack is modular at its core :)
So⊠what is create-t3-app? A template?
Kind of? create-t3-app is a CLI built by seasoned T3 Stack devs to streamline the setup of a modular T3 Stack app. This means each piece is optional, and the âtemplateâ is generated based on your specific needs.
After countless projects and many years on this tech, we have lots of opinions and insights. Weâve done our best to encode them into this CLI.
This is NOT an all-inclusive template. We expect you to bring your own libraries that solve the needs of YOUR application. While we donât want to prescribe solutions to more specific problems like state management and deployment, we do have some recommendations listed here.
T3 Axioms
Weâll be frank - this is an opinionated project. We share a handful of core beliefs around building and we treat them as the basis for our decisions.
Solve Problems
Itâs easy to fall into the trap of âadding everythingâ - we explicitly donât want to do that. Everything added to create-t3-app should solve a specific problem that exists within the core technologies included. This means we wonât add things like state libraries (zustand, redux) but we will add things like NextAuth.js and integrate Prisma and tRPC for you.
Bleed Responsibly
We love our bleeding edge tech. The amount of speed and, honestly, fun that comes out of new shit is really cool. We think itâs important to bleed responsibly, using riskier tech in the less risky parts. This means we wouldnât âïž bet on risky new database tech (SQL is great!). But we happily â bet on tRPC since itâs just functions that are trivial to move off.
Typesafety Isnât Optional
The stated goal of Create T3 App is to provide the quickest way to start a new full-stack, typesafe web application. We take typesafety seriously in these parts as it improves our productivity and helps us ship fewer bugs. Any decision that compromises the typesafe nature of Create T3 App is a decision that should be made in a different project.