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

Project 생성 #1

Merged
merged 31 commits into from
Aug 16, 2024
Merged

Project 생성 #1

merged 31 commits into from
Aug 16, 2024

Conversation

olivejua
Copy link
Collaborator

변경 내용

1. Project 구성

역할기준으로 모듈을 나누었고, 중요부분인 비즈니스 로직과 외부 구성요소를 간접의존할 수 있도록 설계하였습니다.

core

  • 비즈니스 로직 + unit test

storage

  • RDB + Cache + 정적 리소스 저장소

api

  • Client API + api docs + 사용자 인증

모듈간 의존도

flowchart LR
    storage --> core --> api
Loading

(이외에 필요하면 추가될 수 있음)

2. Project 구조

root project (Gradle 프로젝트)
ㄴ api
    ㄴ build.gradle
ㄴ core
    ㄴ build.gradle
ㄴ storage
    ㄴ build.gradle
ㄴ gradle/wrapper
ㄴ build.gradle
ㄴ settings.gradle
ㄴ gradlew
ㄴ gradlew.bat

빌드파일 구성

  • settings.gradle : 하위 프로젝트 관리 목적 및 플러그인이나 의존성 버전관리
  • build.gradle : 프로젝트 설정과 루트 프로젝트 및 하위 프로젝트 공통 설정 용도
  • gradle wrapper files : 루트프로젝트 및 하위 프로젝트를 하나의 wrapper 파일에서 빌드함
  • 모듈들의 build.gradle : 각 모듈들의 필요한 별도 설정 용도

3. Health Check API 생성

정상 작동 확인용으로 생성하였습니다.

4. DB 임시 설정

프로젝트 정상 작동 확인용으로 H2 인메모리 DB로 임시설정하였습니다.

@olivejua olivejua added the feature New feature or request label Aug 12, 2024
.gitignore Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
settings.gradle Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
settings.gradle Outdated Show resolved Hide resolved
@olivejua olivejua self-assigned this Aug 16, 2024
Copy link
Collaborator

@f-lab-lyan f-lab-lyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

설정을 좀 정리해야할 것 같지만, 그것만 빼고는 괜찮은 것 같습니다. 수고하셨습니다.

@olivejua
Copy link
Collaborator Author

@f-lab-lyan
설정부분 정리할 부분이 있는지 다시한번 검토해보겠습니다. 감사합니다!

@olivejua olivejua merged commit 5df7ae2 into main Aug 16, 2024
1 check passed
@olivejua olivejua deleted the feature/create_project branch August 16, 2024 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants