본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 37f3309) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 37f3309 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 앞으로 사용하게 될 querydsl을 설정합니다. build.gradle 수정 plugins { // 생략 id 'com.ewerk.gradle.plugins.querydsl' version '1.0.10&..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 32ca10d) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 32ca10d ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 알림을 처리하기위한 인프라를 설정합니다. 알림 처리를 위해 고려해야 할 사항은 다음과 같습니다. 비동기 처리 애플리케이션 메인 기능에 영향을 줘선 안 됨 ex) 알림 처리시 에러 발생하여 rollback이 발생하여 기존 기능에 ..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 804ac38) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 804ac38 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 알림 도메인을 설계합니다. Design Entity간의 관계를 살펴보면 아래와 같습니다. Notification은 Account와 단방향 ManyToOne 관계를 가집니다. 알림(Notification)이 가지는 속성은 다음과 ..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given two binary trees original and cloned and given a reference to a node target in the original tree. The cloned tree is a copy of the original tree. Return a reference to the same node in the cloned tree. Note that you are not allowed to change any of the two trees or the target node and the answer must be a reference to a node in the cloned tree. Example ..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Write a function that takes an unsigned integer and returns the number of '1' bits it has (also known as the Hamming weight). Note: Note that in some languages, such as Java, there is no unsigned integer type. In this case, the input will be given as a signed integer type. It should not affect your implementation, as the integer's internal binary ..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 4cbf9ad) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 4cbf9ad ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 테스트 코드를 리팩터링합니다. 커스텀 애너테이션 통합 테스트를 위해 사용하는 공통 애너테이션은 다음과 같습니다. @Transactional @SpringBootTest @AutoConfigureMockMvc 이 세 가지는 반드시..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 4cbf9ad) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 4cbf9ad ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 패키지 구조를 Domain Entity 기준으로 다시 정리합니다. 그 동안 DDD에 맞게 패키지 구조를 정리하고 싶은 마음이 굴뚝같았으나 강의 뒷부분에 포함되어있길래 참고있었습니다. 사실 일부분은 제가 적용하면서 하고있었기 때문..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: ebf7e54) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout ebf7e54 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 모임 참가 신청 수락/취소 기능과 출석 체크 기능을 구현합니다. Endpoint 추가 참가 신청 수락, 취소, 출석 체크, 출석 체크 취소 Endpoint를 EventController에 추가합니다. /src/main/java/..
)) 본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: ebf7e54) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout ebf7e54ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 모임 관련 테스트 코드를 작성합니다. 오류 수정 테스트 코드 작성 중 발생한 오류들을 수정하겠습니다. 먼저 Entity의 Collection 필드를 초기화하지 않아 에러가 발생하였습니다. Event.java의 필드를 초기화해..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: ebf7e54) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout ebf7e54 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 모임 참가 및 탈퇴 기능을 구현합니다. 기능 구현을 위해 고려해야 할 사항들은 다음과 같습니다. 모임 참가 신청 및 취소시 스터디 조회 조회하는 스터디의 경우 관리자 권한 없이 읽어올 수 있어야 하므로 데이터를 필요한 만큼만 조..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given a collection of numbers, nums, that might contain duplicates, return all possible unique permutations in any order. Example 1: Input: nums = [1,1,2] Output: [[1,1,2], [1,2,1], [2,1,1]]Example 2: Input: nums = [1,2,3] Output: [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]Constraints: 1
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given the root of a binary tree, return the sum of values of its deepest leaves. Example 1: Input: root = [1,2,3,4,5,null,6,7,null,null,null,null,8] Output: 15Example 2: Input: root = [6,7,8,2,7,1,3,9,null,1,4,null,null,null,5] Output: 19Constraints: The number of nodes in the tree is in the range [1, 10^4]. 1 test(TreeNode.of(6, 7, 8, 2, 7, 1, 3, 9, null, 1,..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an m x n integers matrix, return the length of the longest increasing path in matrix. From each cell, you can either move in four directions: left, right, up, or down. You may not move diagonally or move outside the boundary (i.e., wrap-around is not allowed). Example 1: Input: matrix = [[9,9,4],[6,6,8],[2,1,1]] Output: 4 Explanation: The longest increa..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 020e464) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 020e464 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 모임 삭제 기능을 구현합니다. 엔드포인트 추가 모임 취소 버튼에 매핑되는 엔드포인트를 EventController에 추가합니다. /src/main/java/io/lcalmsky/app/event/endpoint/EventCont..
GitHub markdown에서 수학 표현식 렌더링을 제공합니다. (2022년 5월 19일부터!) LaTeX 문법으로 inline 또는 code block 형태로 작성할 수 있습니다. block으로 사용 주변 텍스트와 별개로 수학 표현식을 추가하기 위해 사용합니다. $$로 새로운 라인을 시작하면 수학 표현식으로 인식합니다. 아래 처럼 입력했을 경우, **The Cauchy-Schwarz Inequality** $$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$ 이렇게 표시됩니다. inline으로 사용 텍스트 중간에 수학식을 입력해야 할 경우 $를 사용합..
- Total
- Today
- Yesterday
- Spring Data JPA
- proto3
- 스프링 부트 애플리케이션
- 스프링 데이터 jpa
- Java
- spring boot app
- leetcode
- 헥사고날 아키텍처
- spring boot jwt
- Spring Boot
- intellij
- Linux
- Jackson
- 알고리즘
- spring boot application
- 함께 자라기
- 스프링부트
- r
- Spring Boot Tutorial
- 스프링 부트
- 스프링 부트 회원 가입
- 클린 아키텍처
- gRPC
- JSON
- 스프링 부트 튜토리얼
- JPA
- Spring Boot JPA
- 함께 자라기 후기
- @ManyToOne
- QueryDSL
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |