| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- Exception
- 열 속성
- jwt
- equals
- 필드 주입
- 인덱스
- lambda
- MSA
- DDL
- DI
- jpa
- Spring
- hashcode
- StringBuilder
- Test
- AOP
- 생성자 주입
- 테스트 코드
- 조합
- select_type
- docker
- static
- redis
- VUE
- KEVISS
- 재정의
- java
- SQL
- cache
- stream
- Today
- Total
목록전체 카테고리 (233)
백엔드 개발자 블로그
Cloud 서비스 AWS EC2 Heroku Git release 배포 Git Actions docker SCP
Junit설정build.gradle에 dependency에 추가testImplementation('org.springframework.boot:spring-boot-starter-test')통합@SpringBootTest : 다 불러와서 무거워짐 -> 필요한 class만 부르기 가능Controller@WebMvcTest(Controller이름.class) : 사용할 Controller scan@MockBean : 사용할 Service 가짜객체 사용@Autowired : mvc에 가짜객체 주입@Test : 테스트 함수 지정 given : 입력, 결과Product productStub = new Product("product-test"); productStub.setProductId("fc00ddb5-9f0..
도메인 Entity DB에 반영됨 Dto DB에 반영 안됨 Controller DI Mapping 인수 Service 사용 Response 규격화 Service DI Respository 사용 Entity -> Dto Repository JpaRepository 상속 customize 가능 Error 처리 Log Configure 빈생성 프론트엔드 HTML JS CSS Thymeleaf
Git repository reposiotyr 생성 local에 clone Spring Boot Spring Initializr [Spring Initializr](https://start.spring.io/) 에서 다운로드 후 Zip 압축풀기 Gradle Java Spring Boot Meta data jar dependency Spring Web Lombok DB Driver Spring JPA Spring security thymesleaf 테스트 토구 junit spock H2 database HAL git clone한 곳에 복붙 gitignore [gitignore.io](https://www.toptal.com/developers/gitignore) 에서 검색 IntelliJ Java Grad..