* 환경변수 설정
- 변수로 설정가능 (local host 3000 같은 주소)
* script => 로그인할때마다 환경변수에 토큰값 저장
* Authorization tab => Basic 토큰 보내기
* post할때 bearer토큰 자동입력 구현
'JS > Nest.js' 카테고리의 다른 글
[Nest] @Exclude => res에 비밀번호 제외, 직렬화 (0) | 2024.09.20 |
---|---|
[Nest] DTO 구현, class-validator, message 구현 (0) | 2024.09.20 |
[Nest] 커스텀 데코리이터 => controller 코드 간소화 (0) | 2024.09.20 |
[Nest] DI 실습 export service, import module, Nest can't resolve dependencies of the 해결, 게시글 생성제한 구현 (0) | 2024.09.20 |
[Nest] Guard => req에 user 넣기, 로그인 과정 복습, 토큰 타입확인 (0) | 2024.09.20 |