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

[4기 최준혁] Short URL 입력 폼 구현 #38

Open
wants to merge 11 commits into
base: hi-june
Choose a base branch
from

Conversation

hi-june
Copy link
Member

@hi-june hi-june commented Oct 3, 2023

📌 과제 설명

SprintBoot URL Shortener 구현 미션 입니다.
원본 url을 입력하면 short url을 만들어 반환해주는 서비스입니다.

👩‍💻 요구 사항과 구현 내용

  • URL 입력폼 제공 및 결과 출력
  • URL Shortening Key는 8 Character 이내로 생성
  • 단축된 URL 요청시 원래 URL로 리다이렉트

스크린샷 2023-10-03 오후 5 51 59
스크린샷 2023-10-03 오후 5 52 28
스크린샷 2023-10-03 오후 5 53 00

✅ PR 포인트 & 궁금한 점

해당 URL을 직접적으로 인코딩하는 방식이 아닌 URL을 DB에 삽입하고 해당 Index를 인코딩하는 방식으로 만들었습니다.
인코딩에 [0-9], [A-Z], [a-z]의 총 62개의 문자로 인코딩했습니다.

@hi-june hi-june self-assigned this Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant