Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sinup 이메일 안 받도록 #49

Merged
merged 12 commits into from
Nov 23, 2024
Merged
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# ☁️ Team Backend ☁️
⭐️ YE;Summit 백엔드 레포지토리
<br>
<br>
## 🧑‍💻 멤버
| 이름 | 손수민 | 이예은 |
|:------:|:------:|:------:|
| 프로필 | <img src="https://avatars.githubusercontent.com/u/173463176?v=4"/> | <img src="https://avatars.githubusercontent.com/u/159096610?v=4"/> |
| 역할 | <img src="https://skillicons.dev/icons?i=spring"> | <img src="https://skillicons.dev/icons?i=spring"> |

<br>
<br>

## 🧑‍💻 사용된 기술 스택

### 🛠️ Tool

<p align="center">
<img src="https://skillicons.dev/icons?i=java"><img src="https://skillicons.dev/icons?i=spring"><img src="https://skillicons.dev/icons?i=mysql"><img src="https://skillicons.dev/icons?i=docker">
</p>

<br>
<br>

### 🚀 Deployment

<p align="center">
<img src="https://skillicons.dev/icons?i=aws"><img src="https://skillicons.dev/icons?i=nginx">
</p>

<br>
<br>

### 🗣️ Communication

<p align="center">
<img src="https://skillicons.dev/icons?i=figma"><img src="https://skillicons.dev/icons?i=notion"><img src="https://skillicons.dev/icons?i=discord">
</p>
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
@RequestMapping("/v1/api/board")
public class BoardController {
private final BoardService boardService;
private Logger log;



@Operation(summary = "PT 영상 및 정보 등록", description = "PT 영상 및 정보를 등록합니다.")
@ApiResponses(value = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,10 @@ public class BoardService {
// 게시글 저장
@Transactional
public Long boardSave(Long memberId, BoardSaveReqDto boardSaveReqDto) {
log.info("Received BoardSaveReqDto: {}", boardSaveReqDto);
Member member = memberRepository.findById(memberId)
.orElseThrow(() -> new IllegalArgumentException("회원이 존재하지 않습니다. " + memberId));

Board board = boardSaveReqDto.toEntity(member);
log.info("Board object created: {}", board);

List<Feed> feeds = getFeedsByMember(member);
boardImageSave(board, boardSaveReqDto.imageUrl(), feeds);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ public record MemberSignUpDTO(
@NotBlank(message = "연락처를 입력해주세요")
String phoneNumber,

@NotBlank(message = "이메일을 입력해주세요")
String email,

@NotNull(message = "참여자 구분을 선택해주세요")
UserType userType, // 청년 창업가 or 예비 투자자

Expand All @@ -45,7 +42,6 @@ public Member toEntity() {
return Member.builder()
.username(name)
.phoneNumber(phoneNumber)
.email(email)
.userType(userType)
.company(company)
.position(position)
Expand Down
Loading