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.
close #52
Description
axios interceptor를 설정했습니다.
Todo
유의할 점 및 ETC (Optional)
로그인 유효성 검사 로직을 추가하지 않아서 주환님이 제공해주신 아이디와 비밀번호를 하드코딩으로 작성해두었습니다.
따라서 테스트하실 때 로그인 페이지에서 '로그인' 버튼만 눌러서 토큰과 사용자 정보가 잘 들어갔는지를 체크해보시고 API 연동하시면 될 것같습니다!
다음 작업으로 로그인 되었을 때만 페이지에 접근할 수 있도록 privateRouter 설정하겠습니다!