Skip to content
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

9주차 미션 / 서버 1조 박종익 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bingbonbon
Copy link
Contributor

구현내용 저장소(8주차 레포)

https://github.com/bingbonbon/KUIT3_Server

구현한 것

  • jwt 인가
  • no offset을 이용한 무한 스크롤링 페이지 데이터 제공
  • refresh token

어려웠던 점

  • 무한 스크롤링 페이지라는 상황을 가정하고 데이터 제공을 위한 레이어를 짜려 했는데 어떤 데이터들이 주고 받는 지를 정확히 알지 못해 난황을 겪었습니다. 헷갈렸던 점은 HTTP는 stateless한데 어떻게 마지막 조회 페이지나 아이디에 대한 정보를 받았다가 다음 페이지를 조회할 때, uri에 실어 보내는 지가 궁금했었습니다.
    다행히 스터디를 통해 마지막 조회 페이지에 대한 정보는 프론트에서 처리한다는 것을 알고 서버는 그저 데이터만 전달하면 되는 것을 알 수 있었습니다.
  • 마지막 조회 페이지에 대한 데이터를 서비스 단에서 처리하는데, 다음 페이지 존재 여부에 대한 처리를 어떻게 할 지 고민을 했습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant