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

1. JPA+REST API 웹앱 뼈대 #7

Merged
merged 8 commits into from
Oct 15, 2023
Merged

1. JPA+REST API 웹앱 뼈대 #7

merged 8 commits into from
Oct 15, 2023

Conversation

deepredk
Copy link
Owner

@deepredk deepredk commented Oct 15, 2023

비동기 등 전혀 신경쓰지 않고
동기 방식으로 REST API 단순 구현

POST /track
URL에 대해 조회수 추적 시작

GET /count?url=
url에 대해 일간 조회수 및 누적 조회수 응답

POST /count?url=
url에 대해 일간 조회수 및 누적 조회수 1 증가

POST /tomorrow
(다음 날 날짜가 되었다는 걸로 가정함)

  • 일간조회수 모두 0으로 초기화하고
  • URL별 일간 조회수 따로 저장해두기
  • 7일이 지난 일간조회수 로그 삭제하기

GET /statistic?url=
url에 대해 최근 7일간의 일간 조회수 응답

@deepredk deepredk linked an issue Oct 15, 2023 that may be closed by this pull request
@deepredk deepredk merged commit 198c3fd into main Oct 15, 2023
1 check passed
@deepredk deepredk deleted the feature/1 branch October 17, 2023 03:15
@deepredk deepredk changed the title feat: JPA+REST API 웹앱 뼈대 1. JPA+REST API 웹앱 뼈대 Oct 17, 2023
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. JPA+REST API 웹앱 뼈대
1 participant