Backend(15)
-
[Spring] Swagger + RequestPart๋ฅผ ํตํด ํ์ผ, Dto ๋์ ์์ฒญ ์ ๋ฐ์ ์๋ฌ ํธ๋ค๋ง
ํ์ฌ Spring Boot๋ฅผ ํตํ ๋น๋์ค ์คํธ๋ฆฌ๋ฐ ์๋ฒ๋ฅผ ๊ฐ๋ฐํ๋ ๊ฐ๋จํ ํ๋ก์ ํธ๋ฅผ ์งํ ํด๋ณด๊ณ ์๋๋ฐ, ์ด๋ฅผ ๊ฐ๋ฐํ๋ฉด์ ๋ง์ฃผํ ์๋ฌ์ ๋ํด ์๊ฐํ๊ณ ์ด๋ฅผ ํด๊ฒฐํ ๋ฐฉ์, ๊ทธ๋ฆฌ๊ณ ์ด์งธ์ ํด๊ฒฐ์ด ๋๋์ง ๊น์ง๋ ๋ค๋ค๋ณด๊ณ ์ ํ๋ค. GitHub - One-armed-boy/spring_stream_video: ๋น๋์ค ์คํธ๋ฆฌ๋ฐ ์๋ฒ with Spring boot ๋น๋์ค ์คํธ๋ฆฌ๋ฐ ์๋ฒ with Spring boot. Contribute to One-armed-boy/spring_stream_video development by creating an account on GitHub. github.com ๋ฌธ์ ์ํฉ ๋ฌ์ฌ ์๋ํฌ์ธํธ์ ๋ํด ์ง์ ์์ฒญ์ ๋ณด๋ด์ ํ ์คํธ๋ฅผ ํ ๋, ํฌ์คํธ๋งจ์ ์ฌ์ฉํ ์๋ ์๊ฒ ์ง๋ง ๊ทธ๊ฒ๋ณด๋จ ์ค์จ..
2024.03.10 -
๋น๊ด์ ๋ฝ์ ํตํ ๊ณ์ข์ด์ฒด ๋์์ฑ ํธ๋ค๋ง (feat. @Transactional ํ์ต ํ ์คํธ)
JPA์ @Transactional ์ด๋ ธํ ์ด์ ์ ๋ํ ์ดํด๋ฅผ ์ฌ๋ฆด ๊ฒธ, ์๋ ๋ ํฌ๋ฅผ ์์ฑํ๊ณ ํ์ต ํ ์คํธ๋ฅผ ์งํํ๋ค. GitHub - One-armed-boy/transactional_test: ํ์ต ํ ์คํธ of @Transactional ํ์ต ํ ์คํธ of @Transactional . Contribute to One-armed-boy/transactional_test development by creating an account on GitHub. github.com ํ ์คํธ ์์ ๋ ์ผ๋ฐ์ ์ผ๋ก ๋์์ฑ ์์ ์ ๋ง์ด ๋ฑ์ฅํ๋ ๊ณ์ข ์ด์ฒด ์ปจํ ์คํธ๋ฅผ ๊ฐ๋จํ๊ฒ ๊ตฌํํ๊ณ ์ ํ๋ค. ์๋๋ ์ด๋ฅผ ์ํ ์ํ์ค๋ฅผ ๋ง๋ก์จ ์ ๋ฆฌํ ๋ด์ฉ์ด๋ค. ์ฌ์ฉ์ A๋ฅผ ์กฐํ ์ฌ์ฉ์ B๋ฅผ ์กฐํ ์ฌ์ฉ์ A์๊ฒ ์ก๊ธ ์์ฒญ์ด ๋ค์ด์จ X ๋งํผ์ ์์ก..
2024.02.04 -
์ฒ์ ๋ณธ @Transactional
์ ์ง์ฅ์์ NestJS - TypeOrm์ ํตํด ๊ฐ๋ฐ์ ์งํํด์๊ณ , ํด์ฌ ํ Spring์ ํ๋ฒ ์ ๋ฌธํด๋ณด์๋ ์๊ฐ์ผ๋ก ๊ฐ๋จํ ํ๋ก์ ํธ๋ฅผ ์งํ ์ค์ ๋๋ค. GitHub - One-armed-boy/spring_stream_video: ๋น๋์ค ์คํธ๋ฆฌ๋ฐ ์๋ฒ with Spring boot ๋น๋์ค ์คํธ๋ฆฌ๋ฐ ์๋ฒ with Spring boot. Contribute to One-armed-boy/spring_stream_video development by creating an account on GitHub. github.com ์ฒ์ ๊ตฌ์ํ๋ ์์ฃผ ๊ธฐ์ด์ ์ธ ๊ธฐ๋ฅ๋ง ๊ตฌํํ ๋ค ์ฃผ๋ณ์ ๊ณ์ ์คํ๋ง ๊ฐ๋ฐ์ ๋ถ๊ป ๊ฐ๋จํ ์ฝ๋ ๋ฆฌ๋ทฐ๋ฅผ ๋ฐ์๋๋ฐ, @Transactional ์ด๋ ธํ ์ด์ ์ ํ์ฉ์ ๋ํด ๋ฐ์ ๋ฆฌ๋ทฐ๊ฐ ํนํ ๊ธฐ์ต์ด ..
2024.01.28 -
NestJS Request Lifecycle (5) - Exception Filter
์ด์ ๊ธ 2022.12.22 - [Backend/NestJS] - NestJS Request Lifecycle (0) - ๊ฐ์ 2022.12.22 - [Backend/NestJS] - NestJS Request Lifecycle (1) - Middleware 2022.12.23 - [Backend/NestJS] - NestJS Request Lifecycle (2) - Guard 2022.12.26 - [Backend/NestJS] - NestJS Request Lifecycle (3) - Interceptor 2022.12.29 - [Backend/NestJS] - NestJS Request Lifecycle (4) - Pipe ์์ธ ํํฐ NestJS์์ ์์ธ ํํฐ๋ ๋น์ฆ๋์ค ๋ก์ง ๋ ๋ฒจ์์ ์ฒ๋ฆฌ๋์ง ์..
2023.01.13 -
NestJS Request Lifecycle (4) - Pipe
์ด์ ๊ธ 2022.12.22 - [Backend/NestJS] - NestJS Request Lifecycle (0) - ๊ฐ์ 2022.12.22 - [Backend/NestJS] - NestJS Request Lifecycle (1) - Middleware 2022.12.23 - [Backend/NestJS] - NestJS Request Lifecycle (2) - Guard 2022.12.26 - [Backend/NestJS] - NestJS Request Lifecycle (3) - Interceptor ํ์ดํ NestJS์์ ํ์ดํ๋ ์ปจํธ๋กค๋ฌ์ ์๋จ์์ ์ฌ์ฉ์์ ์์ฒญ์ ๋ํด ๋ค์์ ์ญํ ์ ์ํํ๋ ์๋ช ์ฃผ๊ธฐ๋ฅผ ์๋ฏธํ๋ค. ๋ณํ: ์ฌ์ฉ์์ ์์ฒญ ์ ๋ฐ์ดํฐ๋ฅผ ์ํ๋ ํํ๋ก ๋ณ๊ฒฝ ํ ์ปจํธ๋กค๋ฌ์ ๋๊ฒจ์ค๋ค...
2022.12.29 -
NestJS Request Lifecycle (3) - Interceptor
์ด์ ๊ธ 2022.12.22 - [Backend/NestJS] - NestJS Request Lifecycle (0) - ๊ฐ์ 2022.12.22 - [Backend/NestJS] - NestJS Request Lifecycle (1) - Middleware 2022.12.23 - [Backend/NestJS] - NestJS Request Lifecycle (2) - Guard ์ธํฐ์ ํฐ NestJS ๋ด์์ ์ธํฐ์ ํฐ๋ ์ปจํธ๋กค๋ฌ ์ , ํ์์ ๋ค์ํ ์ญํ ์ ํด์ฃผ๋ ์๋ช ์ฃผ๊ธฐ๋ฅผ ์๋ฏธํ๋ค. ๊ณต์๋ฌธ์์์ ์ค๋ช ํ๋ ์ธํฐ์ ํฐ๊ฐ ๊ตฌ์ฒด์ ์ผ๋ก ํ๋ ์ผ์ ๋ค์๊ณผ ๊ฐ๋ค. ๋ฉ์๋(์ปจํธ๋กค๋ฌ) ์คํ ์ , ํ์ ์ถ๊ฐ์ ์ธ ๋ก์ง ์ํ ํจ์์์ ๋ฐํ๋ ๊ฒฐ๊ณผ ๋ฐ ์์ธ์ ๋ํ ๋ณํ ๊ธฐ๋ณธ ํจ์ ๋์์ ํ์ฅ ํน์ ์กฐ๊ฑด ํ์์ ์์ ํ ํจ์์ ์ฌ์ ์..
2022.12.26