Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- jest
- OCR
- cookie
- Express
- JavaScript
- MongoDB
- Queue
- typeORM
- Sequelize
- 게임
- 자료구조
- game
- Nest.js
- react
- dfs
- nodejs
- Bull
- 공룡게임
- Dinosaur
- nestjs
- class
- Python
- MySQL
- mongoose
- AWS
- GIT
- TypeScript
- flask
- 정렬
Archives
- Today
- Total
목록@IsNumber() (1)
포시코딩

개요 string, number type의 데이터와 이미지 파일이 같이 담긴 FormData에 대해 Nest.js 상에서 어떻게 해야 multer를 통해 이미지 파일을 받고 나머지 데이터들에 대해 DTO를 적용해 type을 가려 받을 수 있는지에 대해 내 시행착오를 정리해보았다. 발단 Client Server const formData = new FormData(); formData.append('title', title); formData.append('content', content); formData.append('writerId', writerId); formData.append('joinLimit', joinLimit); formData.append('file', file); axios.post..
Node.js
2023. 2. 22. 04:16