{"id":19488043,"url":"https://github.com/etff/url-tracking","last_synced_at":"2026-05-05T14:31:34.943Z","repository":{"id":198201467,"uuid":"699170530","full_name":"etff/url-tracking","owner":"etff","description":"URL Tracking Service","archived":false,"fork":false,"pushed_at":"2023-11-02T14:58:18.000Z","size":137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-27T04:47:30.767Z","etag":null,"topics":["mysql","redis","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/etff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-02T04:37:30.000Z","updated_at":"2023-10-16T16:14:34.000Z","dependencies_parsed_at":"2023-10-16T06:47:07.707Z","dependency_job_id":"4a6101b5-002a-42e3-83ee-67f0fed6cb27","html_url":"https://github.com/etff/url-tracking","commit_stats":null,"previous_names":["etff/url-tracking"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/etff/url-tracking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etff%2Furl-tracking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etff%2Furl-tracking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etff%2Furl-tracking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etff%2Furl-tracking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etff","download_url":"https://codeload.github.com/etff/url-tracking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etff%2Furl-tracking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32653465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mysql","redis","spring-boot"],"created_at":"2024-11-10T20:49:27.820Z","updated_at":"2026-05-05T14:31:34.926Z","avatar_url":"https://github.com/etff.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URL 트래킹 서비스\n\n## 개요\n\n- URL 트랙킹 사이트를 바탕으로 URL 트래킹 기능을 클론하는 프로젝트입니다.\n    - 얼마나 많은 사람이 해당 URL 을 클릭했는지를 통계로 확인할 수 있습니다.\n\n## 실행환경\n\n- JAVA17\n- Spring Boot 3.X\n- DOCKER\n\n## 실행방법\n\n- 프로젝트 최상위 경로에서 `docker-compose up` 명령어를 통해 실행합니다.\n- docker 실행 후 `./gradlew clean`, `./gradlew bootRun` 명령어를 통해 실행할 수 있습니다.\n\n## 사용방법\n\n- URL 저장\n\n```agsl\ncurl --location --request POST 'localhost:8080/api/v1/url' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"url\": \"http://www.naver.com\"\n}'\n```\n\n- 누적 조회수 조회\n\n```agsl\ncurl --location --request POST 'localhost:8080/api/v1/url/counts' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"url\": \"http://www.naver.com\"\n}'\n```\n\n- 일주일간 조회수 조회\n\n```agsl\ncurl --location --request POST 'localhost:8080/api/v1/url/statistic' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"url\": \"http://www.google.com\"\n}'\n```\n\n## API 문서\n\n`http://localhost:8080/swagger-ui/index.html`\n\n## 기능\n\n- [x] URL 의 카운트를 증가하는 api 호출시 일간 조회수 및 누적 조회수 1 증가\n- [x] URL 의 카운트를 조회하는 api 호출시 오늘 카운트와 누적 카운트를 응답\n- [x] 하루가 지나면 일간 조회수 초기화\n- [X] 해당 url의 통계를 조회할 수 있고 해당 데이터는 최근 7일간의 일간 조회수 응답\n\n## ERD\n\n![erd](./assets/image/erd.png)\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetff%2Furl-tracking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetff%2Furl-tracking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetff%2Furl-tracking/lists"}