ORM
Prisma

Prisma

Prisma is an open source Node.js and TypeScript ORM with an intuitive data model, automated migrations, type-safety, and auto-completion.

Documentation (opens in a new tab)

Dependencies Installed

  • Regular
    • zod@3.21.4
    • @t3-oss/env-nextjs
  • Developer
    • prisma
    • zod-prisma

Files Scaffolded

  • prisma/schema.prisma
  • lib/db/index.ts

Files Updated

  • .env
  • lib/env.mjs

Note: if you decide to include example mode, the following additional files will be scaffolded:

  • lib/db/schema/computers.ts
  • lib/api/computers/queries.ts
  • lib/api/computers/mutations.ts