Skip to content
← All templates

Next.js + tRPC + Prisma

Todo app with end-to-end types: Next.js App Router, tRPC and Prisma on Postgres.

TypeScriptFull-stackPostgres
Get the AI prompt

What you can build with it

  • Data-heavy internal apps where types matter
  • Multi-screen tools sharing one API
  • Apps your AI edits often — the types catch its mistakes

What's inside

  • tRPC router
  • Prisma schema
  • Typed client calls from React

Before you deploy

  • Add a managed Postgres with elula init --database; the connection string is injected as DATABASE_URL.

Source

github.com/prisma/prisma-examples/tree/latest/orm/nextjs-trpc