nest

async authenticateUser(user: LoginUserDto) { const existingUser = await this.usersRepository.findUserByEmail(user.email); if (!existingUser) { throw new UnauthorizedException('Email이 존재하지 않습니다.'); } const isMatch = await bcrypt.compare(user.password, existingUser.password); if (!isMatch) { throw new UnauthorizedException('비밀번호가 일치하지 않습니다.'); } return existingUser; ..
Documentation | NestJS - A progressive Node.js frameworkNest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Readocs.nestjs.com Pipe란?Pipe란 @Injectable() 로 데코레이팅된 클래스로,  PipeTransform 인터페이스를 impleme..
전호영
'nest' 태그의 글 목록