Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요구사항
기본
컨트롤러 레이어 구현
DiscodeitApplication의 테스트 로직은 삭제하세요.
지금까지 구현한 서비스 로직을 활용해 웹 API를 구현하세요.
이때 @RequestMapping만 사용해 구현해보세요.
웹 API 요구사항
사용자 관리
권한 관리
채널 관리
메시지 관리
메시지 수신 정보 관리
바이너리 파일 다운로드
바이너리 파일을 1개 또는 여러 개 조회할 수 있다.
웹 API의 예외를 전역으로 처리하세요.
API 테스트
Postman API 테스트 결과를 다음과 같이 export하여 PR에 첨부해주세요.
심화
정적 리소스 서빙
사용자 목록 조회, BinaryContent 파일 조회 API를 다음의 조건을 만족하도록 수정하세요.
사용자 목록 조회
url: /api/user/findAll
요청
응답
BinaryContent 파일 조회
다음의 파일을 활용하여 사용자 목록을 보여주는 화면을 서빙해보세요.
주요 변경사항
스크린샷
멘토에게
Postman
https://www.postman.com/workspace/HJ-Kim's-Workspace~ecd831e9-1883-4533-8b3c-589aab29af2e/collection/52122123-9ac79bb7-0348-4a27-b70e-0fafd6664380