Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
4495567
init project
Curry4182 Oct 3, 2023
992a6dd
feat: h2 데이터베이스 기능 추가
Curry4182 Oct 3, 2023
11a0df4
feat: 기본 index 페이지 추가
Curry4182 Oct 3, 2023
baadfa5
feat: shortcut 도메인 dto 생성
Curry4182 Oct 3, 2023
453547f
feat: shortcut 반환 dto 생성
Curry4182 Oct 3, 2023
bd37046
feat: shortcut entity repository 생성
Curry4182 Oct 3, 2023
d9781fb
feat: base62 기반 encoder, decoder 구현
Curry4182 Oct 3, 2023
e18d5fd
refactor: shortcut 도메인 컬럼 수정
Curry4182 Oct 3, 2023
3d651db
refactor: shortcut 시작 페이지 이동
Curry4182 Oct 4, 2023
e79b08f
feat: 데이터 전송 페이지와 결과 페이지 html 생성
Curry4182 Oct 4, 2023
67690d1
feat: 인코딩된 id를 받아 shortcut 주소를 생성하는 기능 추가
Curry4182 Oct 4, 2023
b00daee
feat: 원본 URL을 입력 받아 shortcut URL를 생성하는 기능 추가
Curry4182 Oct 4, 2023
c6d05ed
feat: 원본 URL 입력 페이지와 shortcut 결과 페이지 반환 기능 추가
Curry4182 Oct 4, 2023
a7e557f
refactor: shortcut dto 리팩토링
Curry4182 Oct 4, 2023
379f200
fix: base62 인코딩 할 경우 숫자만 반환하는 버그 수정
Curry4182 Oct 4, 2023
97d769e
fix: base62 디코딩할 경우 원본 값을 반환하지 못하는 버그
Curry4182 Oct 4, 2023
5e6ffb8
refactor: 인코딩된 id를 입력하면 원본 주소를 반환하도록 리팩토링
Curry4182 Oct 4, 2023
d365591
feat: 인코딩된 id를 입력하면 원본 주소로 리다이렉트 하도록 기능 추가
Curry4182 Oct 4, 2023
56978ad
style: 전체 코드 스타일 통일, 사용하지 않은 import 삭제
Curry4182 Oct 4, 2023
19587af
test: shortcut url 생성 테스트 추가
Curry4182 Feb 21, 2024
a7c2a45
test: shortcut url 조회 테스트 추가
Curry4182 Feb 21, 2024
fdc2c36
test: base62 암호화 복호화 테스트 추가
Curry4182 Feb 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
HELP.md
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/
40 changes: 40 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.1.4'
id 'io.spring.dependency-management' version '1.1.3'
}

group = 'kr.co.programmers'
version = '0.0.1-SNAPSHOT'

java {
sourceCompatibility = '17'
}

configurations {
compileOnly {
extendsFrom annotationProcessor
}
}

repositories {
mavenCentral()
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'com.mysql:mysql-connector-j'
runtimeOnly 'com.h2database:h2'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}

tasks.named('test') {
useJUnitPlatform()
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 7 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
248 changes: 248 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading