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

[Team-16] BE 3번째 PR입니다! #184

Open
wants to merge 24 commits into
base: team-16
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
89273e3
[#8] Feat : Spring JDBC 의존성 추가
street62 Apr 5, 2022
c2caa8f
[#8] Chore : gitignore 추가
street62 Apr 5, 2022
e817c33
[#8] Feat : application.properties DB 관련 설정
street62 Apr 5, 2022
9d48a39
[#8] Chore : git 캐시 삭제
street62 Apr 5, 2022
adcd6c1
[#8] Chore : gitignore .idea 추가
street62 Apr 5, 2022
825f3bf
[#8] Chore : gitignore 수정 후 재커밋
street62 Apr 5, 2022
fb1d3a3
[#14] Feat : TaskController.add() 구현
street62 Apr 7, 2022
d3f7da8
[#18] Swagger 설정
street62 Apr 8, 2022
edd99b0
[#18] Feat: response 응답 형식 변경 및 Swagger ui 페이지 Example Value 값 변경
dongkyu-park Apr 8, 2022
e17f1bf
[#23] Feat : TaskController.add() 응답코드만 반환하도록 변경
street62 Apr 11, 2022
1ba223f
[#23] Refactor : ResponseEntity를 Service에서 생성하도록 변경
street62 Apr 11, 2022
2249d49
[#23] 패키지명 및 group ID 변경
street62 Apr 11, 2022
6fd4420
[#24] build.gradle의 sourceCompatibility 설정
street62 Apr 12, 2022
63fe397
[#24] Swagger Controller 경로 변경
street62 Apr 12, 2022
96c65c4
[#24] TaskController 200 응답 시 리스폰스 객체 타입 삭제
street62 Apr 12, 2022
e5fb1d6
[#24] Fix : DB 구조 변경으로 인한 로직 수정
street62 Apr 12, 2022
2dd6d86
[#24] Fix : Task 생성자 println 삭제
street62 Apr 12, 2022
3b895d4
[#28] Feat : 전체 Task 데이터 불러오기 구현
street62 Apr 12, 2022
e8aedc3
[#28] Task DB 저장 시 기준 timezone 설정
street62 Apr 13, 2022
55f3284
[#28] Feat : 전체 태스크 조회 API Swagger 설정
street62 Apr 13, 2022
a63360b
[#30] 태스크 추가 API response body에 Task 객체 추가
street62 Apr 13, 2022
14168bc
[#31] Feat : 태스크 상태 수정 API 구현
street62 Apr 13, 2022
99be57d
[#31] 태스크 상태 수정 API Swagger 설정
street62 Apr 13, 2022
43121bf
[#31] Fix : TaskStatusChangeDto 클래스 작성
street62 Apr 13, 2022
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
Next Next commit
[#8] Feat : Spring JDBC 의존성 추가
build.gradle 수정으로 JDBC와 MySQL Connector 의존성 추가
application.properties 수정으로 datasource 정보 추가. 이후 업데이트 필요.
street62 authored and dongkyu-park committed Apr 8, 2022
commit 89273e390874c0b04d8f2dfb68f659adbc30f4e4
1 change: 1 addition & 0 deletions todo-list-server/.idea/gradle.xml

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

124 changes: 124 additions & 0 deletions todo-list-server/.idea/uiDesigner.xml

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

10 changes: 7 additions & 3 deletions todo-list-server/build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
plugins {
id 'org.springframework.boot' version '2.6.2'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}

group 'org.example'
group 'com.list'
version '1.0-SNAPSHOT'

repositories {
mavenCentral()
}

dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
runtimeOnly 'mysql:mysql-connector-java'
}

test {
11 changes: 11 additions & 0 deletions todo-list-server/src/main/java/com/list/todo/TodoApp.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.list.todo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class TodoApp {
public static void main(String[] args) {
SpringApplication.run(TodoApp.class, args);
}
}
4 changes: 4 additions & 0 deletions todo-list-server/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/example?serverTimezone=UTC&characterEncoding=UTF-8
spring.datasource.username=root
spring.datasource.password=1234