-
Notifications
You must be signed in to change notification settings - Fork 12
[7주차] Team 프로메사 권동욱 & 김서연 미션 제출합니다. #3
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
Open
2025314242
wants to merge
97
commits into
CEOS-Developers:master
Choose a base branch
from
Team-Promesa:main
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
library, plugin ...
fonts, icons, favicon
fonts, icons, favicon
app directory, components, libs, stores, styles
feat: add part/team property selection
로그인 여부에 따라서 리다이렉션
로그아웃 모달에 실제로 동작하도록 추가함
useUser hook에서 getUser(SSR 전용) 사용해서 에러뜸 -> api/auth/me/route.ts 통해서 호출하도록 수정
backend API랑 연결 연결하면서 코드 리팩토링 진행 (최대한 원본 코드 유지하려고 함) 문제점: backend API가 dev 환경에서 적용이 안됨 (아마 next.config.ts rewrites not working error인듯. next JS 최신 버전 오류) deployment 시 적용될지 테스트
NEXT_PUBLIC_BASE_URL 제거 BACKEND_URL 추가
fix: logged in
fix: refresh token
Feat/backend requirements
Feat/requirements-v2
fix: crown only if voteCount > 0
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.
마치며
👨💻 권동욱
👩💻 김서연
각종 모음
배포 링크
https://next-vote-21th-promesa.vercel.app
기본 설정
https://pickle-alarm-35a.notion.site/Frontend-Default-Setting-1f29c22f061f80cc960be21f2284505a?pvs=74
폴더 구조 및 디자인 초안
https://pickle-alarm-35a.notion.site/7-8-1f39c22f061f801db81ef32ba493e9f0
Key Questions
Zod 스키마가 무엇인지, 어떻게 활용할 수 있는지 알아봅시다.
z.infer<typeof schema>
로 타입 선언도 자동화loginSchema
,signupSchema
등을 정의해 각 입력 폼의 유효성 조건을 선언zodResolver()
와 함께 사용해 입력값을 실시간으로 검증이번 프로젝트에서 토큰 관리를 어떻게 할 예정인지, 그리고 왜 그런 방법을 선택했는지에 대해 설명해 주세요.
클라이언트
서버