
오류발생 @Get() @UseGuards(JwtAuthGuard) @ApiBearerAuth('access-token') @ApiOperation({ summary: '전체 주문 조회' }) async findAll(@Request() req) { const userId = req.user.id; return this.orderService.findAll(userId); } @Get(':id') @UseGuards(JwtAuthGuard) @ApiBearerAuth('access-token') @ApiOperation({ summary: '주문 조회' }) async findOne(@Request() req, @Param('o..

오류 발생 package.json 에 dev 스크립트를 작성해서 npm run dev 를 작성했을 때 mongodb에 잘 연결은 됐지만 (node:17988) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) 이런 오류가 발생한다. 원인 Node.js의 최신 버전에서 punycode 모듈은 삭제되었다는 뜻으로 이 punycode 를 지원해주는 버전으로 다운그레이드 해야한다. 해결방법 난 노드 버전 중 가장 안정적이라고 하는 18..

composer는 기본 세팅 되어있는걸로 가정 터미널에서 프로젝트 생성 phpstorm으로 프로젝트를 열어준다. php artisan serve 를 입력해서 laravel document 페이지가 잘 작동되는지 확인 후 아래의 명령어로 vue 설치 및 연동한다. php artisan ui vue npm install mac m1칩은 brew가 다른걸로 설치되야하고 뭐... 암튼 npm 명령어를 입력했을 때 오류가 나면 https://www.lainyzine.com/ko/article/how-to-install-homebrew-for-m1-apple-silicon/ 애플 실리콘 M1 용 Homebrew 설치 Homebrew는 macOS에서 프로그래머들에게 가장 인기있는 패키지 매니저입니다. Homebrew..
XSS(Cross-Site Scripting)는 무엇인가? - 사이트 간 스크립팅은 웹 애플리케이션이서 많이 나타나는 취약점의 하나이다. - 웹사이트 관리자가 아닌 사람이 사용자를 대상으로 웹 페이지에 악성 스크립트를 삽입할 수 있다. 왜 위험한데? - 스크립트에 따라 쿠키나 세션 토큰 등을 탈취할 수 있어서 인증이나 세션관리에 사용되는 사이트에 침입하거나 피해를 입힐 가능성이 있다. XSS의 예시 // HTML submit // script document.querySelector('#input-btn').addEventListener("click", (e) => { const userInput = document.querySelector('#input').value document.querySelec..
- Total
- Today
- Yesterday
- 이븐아이부트캠프
- html태그
- nestjs
- 김영한spring
- 우아한형제spring
- Git
- RDS
- 이븐아이부트캠프후기
- M1
- 인프런스프링mvc
- 프로그래머스알고리즘
- Spring
- Sts
- algorithm
- 라라벨
- 알고리즘
- javascriptalgorithm
- MAC
- IntelliJ말고spring
- http
- phpstorm
- 프로그래머스코딩테스트
- laravel
- IntelliJ
- php
- javascript알고리즘
- homebrew
- 인프런spring
- 이븐아이후기
- 프로그래머스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |