1**. 회원가입 (중복 검증 == Bad Request(Spring Rest API)**

2. 이메일 토큰 값 받기

3. 회원가입 승인 이메일 전송

1**. 회원가입 (중복 검증 == Bad Request(Spring Rest API)**

1-1) AccountRepository

Untitled

1-2) SignUpFormValidator

Untitled

1-3) AccountController

Untitled

1-4) 닉네임&이메일 중복 체크

Untitled

2. 이메일 토큰 값 받기

2-1) 이메일 토큰 TDD

Untitled

2-2) AccountRepository

Untitled

2-3) AccountController

Untitled

2-4) Account

2-5) AccountController

Untitled

3. 회원가입 승인 이메일 전송

3-1) 이메일 전송 TDD

Untitled

3-2) mail 디펜더시 추가

<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-mail</artifactId>
</dependency>

3-3) ConsoleMailSender

Untitled

3-4) application.properties

Untitled

3-5) AccountController

Untitled

3-6) 이메일 로그 확인하기

2022-02-03 20:41:33.141  INFO 4297 --- 
[nio-8080-exec-7] m.s.s.mail.ConsoleMailSender            

: /check-email-token
?token=8cab8e4e-1824-4a1a-8f39-f9abeb74f846
&[email protected]