본문 바로가기

Framework/Springboot7

스프링부트로 이메일 인증 서비스 구현하기 이메일 인증 서비스를 구현하다보니 이메일의 내용을 템플릿으로 만들어 필요한 인증코드 값만 넘겨주면 Java 코드에서는 더 간단하게 코드를 작성할 수 있을 것 같았습니다. 그래서 이메일에 들어갈 본문을 html 파일로 작성을 하고 작성한 html 파일을 조회를 해야하는 기능이 필요했습니다. 개발 환경 개발 구성 IDE: IntelliJ JDK 버전 : 17 스프링부트 : 3.1.0 언어 : Java 플러그인 dependencies { implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'ognl:ognl:3.4.2' } 위의 플러그인을 추가해줍니다. thymeleaf 플러그인은 '템플릿 엔진'의 일종입니.. 2024. 1. 31.
스프링부트에서 html 템플릿 조회하기 이메일 인증 서비스를 구현하다보니 이메일의 내용을 템플릿으로 만들어 필요한 인증코드 값만 넘겨주면 Java 코드에서는 더 간단하게 코드를 작성할 수 있을 것 같았습니다. 그래서 이메일에 들어갈 본문을 html 파일로 작성을 하고 작성한 html 파일을 조회를 해야하는 기능이 필요했습니다. 개발 환경 개발 구성 IDE: IntelliJ JDK 버전 : 17 스프링부트 : 3.1.0 언어 : Java 플러그인 dependencies { implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'ognl:ognl:3.4.2' } 위의 플러그인을 추가해줍니다. thymeleaf 플러그인은 '템플릿 엔진'의 일종입니.. 2024. 1. 30.
스프링부트로 Google OAuth 2.0 개발하기 OAuth 란 개발 환경 JDK 17 Spring boot 버전 : 3.0.6 PostgreSQL : 14.0 사용 플러그인 implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spr.. 2024. 1. 30.

\