HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
프로그래머스 프론트엔드 데브코스 2기
프로그래머스 프론트엔드 데브코스 2기
/
🥀
요한팀
/
✏️
프로젝트 기획
/
Main Page

Main Page

API

MainPage에서 API 요청을 하나요?
이전 프로젝트에서는 React를 사용했고 App.js에서 로그인 여부, Post를 API 요청을 통해 확인했습니다.
  • 내 정보 조회
    • GET API_END_POINT/users/me
  • 모든 폴더 조회하기(정렬)(LinkBook에 없음)
    • GET API_END_POINT/folders/all

변수

컴포넌트

  • MyFolderAreaLogOut
    • notion image
  • MyFolderAreaLogIn
    • notion image
  • Category
    • notion image
  • UseInfo
    • notion image
const isLogin = useRecoilValue(); // recoil에서 받아오기 const tags = userRecoilValue(); const username = userRecoilValue(); const userPinnedFolder = userRecoilValue(); const { popularPost, latestPost, commentPost } = userRecoilValue();