An open API service indexing awesome lists of open source software.

https://github.com/kingjaeyeon/nestjs-auth

platejs test, nestjs auth, nodemailer
https://github.com/kingjaeyeon/nestjs-auth

Last synced: 24 days ago
JSON representation

platejs test, nestjs auth, nodemailer

Awesome Lists containing this project

README

        


Nest Logo

[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest

A progressive Node.js framework for building efficient and scalable server-side applications.



NPM Version
Package License
NPM Downloads
CircleCI
Coverage
Discord
Backers on Open Collective
Sponsors on Open Collective

Support us


## Description

[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.

## Installation

```bash
$ yarn install
```

## Running the app

```bash
# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod
```

## Helmet
Helmet helps secure Express apps by setting HTTP response headers.
```bash
yarn add helmet
```
## Cookie-parser
```bash
yarn add cookie-parser @types/cookie-parser
```

## ValidationPipe
To begin using it, we first install the required dependency.
```bash
yarn add class-validator class-transformer
```
## Prisma
```bash
yarn add prisma --dev
yarn prisma
yarn prisma init

yarn prisma migrate dev --name init
yarn add @prisma/client

OR
prisma db push
prisma generate
```

## Bcrypt
```bash
yarn add bcrypt @types/bcrypt
```

## Passport
```bash
yarn add @nestjs/passport passport passport-local @types/passport-local
```

## JWT
```bash
yarn add @nestjs/jwt passport-jwt @types/passport-jwt
```

## Config
```bash
yarn add @nestjs/config
```

## OAuth2(Google)
```bash
yarn add passport-google-oauth20 @types/passport-google-oauth20
yarn add passport-naver
yarn add passport-kakao
```

## Throttler
무차별 대입 공격으로부터 애플리케이션을 보호하는 일반적인 기술은 속도 제한 입니다
```bash
yarn add @nestjs/throttler
```

## Winston
다중 전송을 지원하는 간단하고 보편적인 로깅 라이브러리
### winston-daily-rotate-file
회전 파일에 기록하는 Winston 용 전송입니다 . 날짜, 크기 제한을 기준으로 로그를 순환할 수 있으며, 개수 또는 경과 일수를 기준으로 오래된 로그를 제거할 수 있습니다
```bash
yarn add winston winston-daily-rotate-file
```

# 다이어그램
### AppModule
![img_2.png](img_2.png)