Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 702 Bytes

Commands.md

File metadata and controls

20 lines (19 loc) · 702 Bytes
  • nest new nest-prisma-postgres-auth to create a new project

  • select yarn as the package manager

  • cd nest-prisma-postgres-auth

  • nest g resource auth --no-spec

  • ? What transport layer do you use? REST API

  • ? Would you like to generate CRUD entry points? No

  • yarn add prisma --save-dev

  • npx prisma init

  • yarn add @prisma/client --save

  • npx prisma migrate dev --name init

  • yarn add bcrypt

  • yarn add -D @types/bcrypt

  • npx prisma studio

  • yarn add @nestjs/jwt --save

  • yarn add cookie-parser --save

  • yarn add -D @types/cookie-parser

  • nest g controller auth --no-spec

  • yarn add @nestjs/passport passport passport-jwt --save

  • yarn add -D @types/passport-jwt