New

5 demos, 10+ applications, 50+ blocks, 30+ pages & much more

Documentation

Browse and explore docs

Required Packages

These packages are already included in the template. If you are starting from scratch or adding Supabase + Prisma to an existing project, install them with:

npm install @supabase/supabase-js @prisma/client @prisma/adapter-pg prisma dotenv tsx
PackageVersionPurpose
@supabase/supabase-js^2.106.2Supabase client for auth and realtime
@prisma/client^7.8.0Auto-generated type-safe database client
@prisma/adapter-pg^7.8.0PostgreSQL adapter with connection pooling support
prisma^7.8.0Prisma CLI — migrations, schema, codegen (devDependency)
dotenv^17.4.2Loads .env variables for scripts like the seed runner
tsxlatestRuns TypeScript files directly (used by the seed script)

package.json Scripts

The template includes the following useful scripts in package.json:

"scripts": {
  "dev":   "next dev",
  "build": "prisma generate && next build",
  "start": "next start",
  "seed":  "tsx prisma/seed-all.ts"
}

Notice that build automatically runs prisma generate before building — this ensures the Prisma client is always up to date when deploying. You can also run the seed script with:

npm run seed