spring boot 게시판 - 7 <회원 정보 수정 및 탈퇴>
Java/spring 게시판2022. 11. 24. 22:13spring boot 게시판 - 7 <회원 정보 수정 및 탈퇴>

2022.11.22 - [Java/spring 게시판] - spring boot 게시판 - 6 spring boot 게시판 - 6 https://magicmk.tistory.com/32 spring boot 게시판 - 5 https://magicmk.tistory.com/31 spring boot 게시판 - 4 https://magicmk.tistory.com/29 spring boot 게시판 - 3 https://magicmk.tistory.com/28 spring boot 게시판 - 2 https://magicmk.tistory.com/ magicmk.tistory.com 이전 시간에 머리 식히려고 프론트 관련된 내용을 진행했었는데 이번에는 회원 정보 수정 및 탈퇴를 구현했다. ✅ 회원 정보 수정 현..

spring boot 게시판 - 6 <bootstrap 적용하기>
Java/spring 게시판2022. 11. 22. 20:45spring boot 게시판 - 6 <bootstrap 적용하기>

https://magicmk.tistory.com/32 spring boot 게시판 - 5 https://magicmk.tistory.com/31 spring boot 게시판 - 4 https://magicmk.tistory.com/29 spring boot 게시판 - 3 https://magicmk.tistory.com/28 spring boot 게시판 - 2 https://magicmk.tistory.com/25 Spring boot 게시판 - 1 < 간단 회원 가입 구 magicmk.tistory.com 전 편에 thymeleaf의 layout을 적용한 뒤 회원 정보를 컨트롤하는 로직을 구현하다가 머리가 지끈 거려서 화면을 이쁘게 만들어 보고자 이번에는 BootStrap을 적용해 보았다. ✅ Boo..

spring boot 게시판 - 5 <thymeleaf layout 적용>
Java/spring 게시판2022. 11. 21. 17:42spring boot 게시판 - 5 <thymeleaf layout 적용>

https://magicmk.tistory.com/31 spring boot 게시판 - 4 https://magicmk.tistory.com/29 spring boot 게시판 - 3 https://magicmk.tistory.com/28 spring boot 게시판 - 2 https://magicmk.tistory.com/25 Spring boot 게시판 - 1 시스템 구성 Spring boot 2.7.5 Gradle Java 11 Inte magicmk.tistory.com 지난 시간에 열심히 삽질해서 login을 구현했으니 이번에는 쉬어가는 느낌으로 프론트 쪽 thymeleaf 템플릿의 layout을 적용 해봤다. ✅ thymeleaf 디렉토리 구조 templates 디렉토..

spring boot 게시판 - 4 <spring security form login 구현>
Java/spring 게시판2022. 11. 18. 10:25spring boot 게시판 - 4 <spring security form login 구현>

https://magicmk.tistory.com/29 spring boot 게시판 - 3 https://magicmk.tistory.com/28 spring boot 게시판 - 2 https://magicmk.tistory.com/25 Spring boot 게시판 - 1 시스템 구성 Spring boot 2.7.5 Gradle Java 11 Intellij Ultimate 라이브러리 thymeleaf jpa web lombok h2 magicmk.tistory.com 이전 편에 패스워드 암호화를 진행한 뒤 바로 로그인 구현을 위해 삽질을 했는데 진짜 별거 아닌 것 같았지만 수많은 시행착오를 겪느라 구현이 늦어버렸다. spring security config에 WebSecuri..

spring boot 게시판 - 3 <패스워드 암호화, 회원 목록 조회>
Java/spring 게시판2022. 11. 11. 16:54spring boot 게시판 - 3 <패스워드 암호화, 회원 목록 조회>

https://magicmk.tistory.com/28 spring boot 게시판 - 2 https://magicmk.tistory.com/25 Spring boot 게시판 - 1 시스템 구성 Spring boot 2.7.5 Gradle Java 11 Intellij Ultimate 라이브러리 thymeleaf jpa web lombok h2 DB 프로젝트 구조 프로젝트 구조는 위와 같 magicmk.tistory.com 전편에 이은 회원가입 시 패스워드 암호화 및 회원 목록 조회다. 사실 전편보다 이번 내용을 먼저 구현했지만 왜 3번째인지 모르겠다. 😝 ✅ 회원 목록 조회 우선 회원 목록 조회하는 내용부터 살펴보면 ⏹️ MemberService package com.prac..

spring boot 게시판 - 2 <회원 중복 체크 및 유효성 검사>
Java/spring 게시판2022. 11. 11. 15:26spring boot 게시판 - 2 <회원 중복 체크 및 유효성 검사>

https://magicmk.tistory.com/25 Spring boot 게시판 - 1 시스템 구성 Spring boot 2.7.5 Gradle Java 11 Intellij Ultimate 라이브러리 thymeleaf jpa web lombok h2 DB 프로젝트 구조 프로젝트 구조는 위와 같은 구조를 따라갈 것이며 각 내용이 무엇을 하는지는 https://magicmk.t magicmk.tistory.com 전편에 이은 회원 이메일 중복 체크 및 유효성 검사 편이다. 프로젝트를 완성하고 글을 작성하는 게 아니라 만들면서 까먹지 않도록 작성하는 거라 이전 편에 작성했던 코드들이 변경되는 것도 있고 밑에 코드를 추가할 때 너무 길어지지 않도록 기존에 작성한 코드는 제거할 거..

Spring boot H2 DB 설정
Java/spring2022. 11. 10. 14:16Spring boot H2 DB 설정

Spring boot에서 DB를 무엇을 사용할까 고민하다 가장 간단한 방법인 H2 DB를 연동하였다. 우선 build.gradle에서 dependency를 설정해야 한다. dependency 설정 dependencies { implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-web' compileOnly 'org.projectlombok:lombok' runtimeOnly 'com.h2databa..

Spring boot 게시판 - 1 < 간단 회원 가입 구현>
Java/spring 게시판2022. 11. 10. 13:49Spring boot 게시판 - 1 < 간단 회원 가입 구현>

시스템 구성 Spring boot 2.7.5 Gradle Java 11 Intellij Ultimate 라이브러리 thymeleaf jpa web lombok h2 DB 프로젝트 구조 프로젝트 구조는 위와 같은 구조를 따라갈 것이며 각 내용이 무엇을 하는지는 https://magicmk.tistory.com/4 Spring boot 패키지 구조 및 내용 spring boot의 구조를 살펴보고 각 기능별로 살펴보겠습니다. 구조 Spring boot는 목적에 따라 패키지를 따로 생성해서 프로젝트를 관리하는데 크게 나누어 보자면 다음과 같다. Controller DTO Service Reposi magicmk.tistory.com 이 전에 작성한 내용을 보면 이해하기 쉬울 것 같다. 구현 우선 회원가입 관련한..

image