-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from SWE-PRJ/develop
최종 릴리즈
- Loading branch information
Showing
87 changed files
with
4,911 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,50 @@ | ||
# backend | ||
# SWE PRJ 6조 Issue Tracker Backend | ||
|
||
2024-1학기 소프트웨어공학 프로젝트 6조 Issue Tracker의 백엔드 어플리케이션입니다. | ||
## 개발 환경 | ||
-  Spring Boot 3.2.5 | ||
-  JDK 17 | ||
-  MySQL 8.0 | ||
-  IntellijIdea | ||
-    | ||
## 요구 환경 | ||
- JDK 17 | ||
- MySQL 8.0 | ||
- Intellij IDEA 혹은 기타 Java IDE | ||
## 실행 방법 | ||
### IDE에서 실행 | ||
1. git clone | ||
```bash | ||
$ git clone https://github.com/SWE-PRJ/backend.git | ||
``` | ||
2. Intellij IDEA 등의 IDE에서 해당 프로젝트를 열고 실행 | ||
|
||
### 빌드 파일 실행 | ||
1. MySQL 계정 생성(계정이 없는경우) | ||
다음 계정으로 MySQL 계정을 생성한다. | ||
``` | ||
username: root | ||
password: sqlpassword | ||
``` | ||
2. MySQL 계정이 이미 있는경우 | ||
Windows (cmd): | ||
```bash | ||
set SPRING_DATASOURCE_USERNAME={ your_username } | ||
set SPRING_DATASOURCE_PASSWORD={ your_password } | ||
``` | ||
Windows (PowerShell): | ||
```bash | ||
$ env:SPRING_DATASOURCE_USERNAME = "{ your_username }" | ||
$ env:SPRING_DATASOURCE_PASSWORD = "{ your_password }" | ||
``` | ||
macOS / Linux: | ||
```sh | ||
export SPRING_DATASOURCE_USERNAME={ your_username } | ||
export SPRING_DATASOURCE_PASSWORD={ your_password } | ||
``` | ||
|
||
3. jar 파일 실행 | ||
```bash | ||
$ cd build/libs | ||
$ java -jar {jar파일명}.jar | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
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/ | ||
|
||
*.DS_Store | ||
application-secret.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
plugins { | ||
id 'java' | ||
id 'org.springframework.boot' version '3.2.5' | ||
id 'io.spring.dependency-management' version '1.1.4' | ||
} | ||
|
||
ext { | ||
springShellVersion = "3.2.5" | ||
} | ||
|
||
group = 'com.sweprj' | ||
version = '0.0.1-SNAPSHOT' | ||
|
||
java { | ||
sourceCompatibility = '17' | ||
} | ||
|
||
configurations { | ||
compileOnly { | ||
extendsFrom annotationProcessor | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation 'org.springframework.boot:spring-boot-starter-data-jpa' | ||
implementation 'org.springframework.boot:spring-boot-starter-security' | ||
implementation 'org.springframework.boot:spring-boot-starter-validation' | ||
implementation 'org.springframework.boot:spring-boot-starter-web' | ||
implementation 'mysql:mysql-connector-java:8.0.28' | ||
implementation 'org.springframework.shell:spring-shell-starter' | ||
compileOnly 'org.projectlombok:lombok' | ||
runtimeOnly 'com.mysql:mysql-connector-j' | ||
developmentOnly 'org.springframework.boot:spring-boot-devtools' | ||
annotationProcessor 'org.projectlombok:lombok' | ||
testImplementation 'org.springframework.boot:spring-boot-starter-test' | ||
testImplementation 'org.springframework.security:spring-security-test' | ||
testImplementation("org.junit.vintage:junit-vintage-engine") { | ||
exclude group: "org.hamcrest", module: "hamcrest-core" | ||
} | ||
|
||
// JWT 토큰 | ||
implementation group: 'io.jsonwebtoken', name: 'jjwt-api', version: '0.11.5' | ||
implementation group: 'io.jsonwebtoken', name: 'jjwt-impl', version: '0.11.5' | ||
implementation group: 'io.jsonwebtoken', name: 'jjwt-jackson', version: '0.11.5' | ||
implementation group: 'org.json', name: 'json', version: '20240303' | ||
} | ||
|
||
dependencyManagement { | ||
imports { | ||
mavenBom "org.springframework.shell:spring-shell-dependencies:$springShellVersion" | ||
} | ||
} | ||
|
||
tasks.named('test') { | ||
useJUnitPlatform() | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.7-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.