# myProfile
총 1개의 포스트
MyProfile.(review, editProfile)
** 들어가기 MyProfile에서 review(나에게 쓴 리뷰, 내가 쓴 리뷰) editProfile을 알아본다. ** 1. pages/api/review.ts ~ 2. pages/profile/index.tsx ~ 3. /api/users/me/index.ts 이 API에서 GET으로 받으면, 나의 정보를 보내주고, POST로 받으면, editProfile data를 받아서 edit함. ~ 4. pages/profile/edit.tsx pages/profile/index.tsx 페이지에서 editProfile을 클릭하면 넘어오는 page ~ 오늘도 화이팅하자~!!
2022년 8월 9일
·
0개의 댓글·
0