Step 1: Create auth module (make it individual)
nest g module auth
nest g service auth --no-spec
nest g controller auth –no-spec
stuff needs in authentication:
yarn add @nestjs/passport passport passport-local
yarn add -D @types/passport-local
step 2: import the passport module in auth module
Step 3: Create the folder strategy and inside the folder create new file local.strategy.ts

step 4: create auth guard
nest g guard guards/local-auth auth


