- Language : JAVA
- Framework : Spring Boot
- DBMS : MySQL (AWS RDS)
- TestTool : Swagger
- Build Version : Java 17
- Devleop Tool : Intelli J
- JDK : open-jdk:17
src
├── main
│ ├── Application
│ ├── controller
│ ├── domain
│ ├── repository
│ ├── service
│ └── config
│ ├── JasyptConfig
│ ├── SwaggerConfig
│ └── WebConfig
├── test
├── build.gradle
├── docker-compose.yml
├── Dockerfile
├── gradlew.bat
└── settings.gradle
// Spring Boot Data JPA and Web
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web'
// Lombok for code simplification
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// Spring Boot Test Starter
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// Thymeleaf for HTML templating
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
// MySQL Connector
implementation 'mysql:mysql-connector-java:8.0.33'
// QueryDSL for JPA
implementation "com.querydsl:querydsl-jpa:${queryDslVersion}"
implementation "com.querydsl:querydsl-apt:${queryDslVersion}"
// Jasypt for encryption and decryption
implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.4'
// Swagger for API documentation
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'
// Jsoup for HTML parsing
implementation 'org.jsoup:jsoup:1.15.3'
- IDE 준비 (Intellij 설치)
해당 링크로 들어가서 다운로드 하세요.
- Repository 복제
- 소스 파일 설치
$ git clone https://github.com/AgeBloomers/agebloomers-backend.git
- Docker 설치 및 실행
- Docker 설치
- Docker를 설치한 후 Docker Desktop을 실행하세요.
- Docker-compose 설치
$ sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose
$ sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
- Docker-compose 버전 확인
$ docker-compose -v
- MySQL 설치
해당 링크로 들어가서 다운로드 하세요.
- 빌드 (Gradle 설치 필요)
- 프로젝트 빌드
$ ./gradlew build
- 서버 구동
- 프로젝트를 IntelliJ IDEA에서 열고 구동하세요.