Installation
Automatic Install
Use the nest add command to automatically setup the library, Prisma and Docker (optionally):
nest add nestjs-prisma
Manual Install
Add nestjs-prisma
library to your NestJS application:
# npm
npm install nestjs-prisma
# yarn
yarn add nestjs-prisma
Furthermore, setup Prisma in your NestJS application, if you haven’t already.
npm i -D prisma
npm install @prisma/client
npx prisma init