Skip to content

Conversation

@jungeunyooon
Copy link
Member

@jungeunyooon jungeunyooon commented Sep 6, 2025

초기 API들 구현했습니다

Summary by CodeRabbit

  • New Features

    • Added REST endpoints for URL shortening and redirection.
    • POST /api/v1/urls returns 201 with the generated short URL.
    • GET /api/v1/urls/{shortUrl} redirects to the original URL (301/302), compatible with edge caching.
  • API Changes

    • Breaking: POST /shorten → POST /api/v1/urls.
    • Breaking: GET /{code} → GET /api/v1/urls/{shortUrl}.
  • Documentation

    • README updated to reflect new endpoints and behavior.
    • Removed outdated storage partitioning note.

@jungeunyooon jungeunyooon self-assigned this Sep 6, 2025
@jungeunyooon jungeunyooon linked an issue Sep 6, 2025 that may be closed by this pull request
@jungeunyooon jungeunyooon merged commit 961f656 into main Sep 6, 2025
1 of 2 checks passed
@coderabbitai
Copy link

coderabbitai bot commented Sep 6, 2025

Caution

Review failed

The pull request is closed.


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0bebfee and 26a9e31.

📒 Files selected for processing (6)
  • README.md (1 hunks)
  • src/main/java/com/example/bitly/controller/UrlController.java (1 hunks)
  • src/main/java/com/example/bitly/controller/dto/UrlCreateRequest.java (1 hunks)
  • src/main/java/com/example/bitly/entity/Url.java (1 hunks)
  • src/main/java/com/example/bitly/repository/UrlRepository.java (1 hunks)
  • src/main/java/com/example/bitly/service/UrlService.java (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/#8

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

다음과 같이 말씀하실 수 있습니다:

"검토 결과, 특별히 코멘트할 만한 변경사항은 찾지 못했습니다."

또는 좀 더 간결하게:

"특별히 코멘트할 만한 변경사항은 없습니다."

</details>

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.

초기 프로토타입 구현

2 participants