Skip to content

Team-BPD/bpd-back-springboot-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BPD BACK-END SPRINGBOOT TEMPLATE

openjdk-17

spring-boot

h2

swagger

jpa

slf4j

MyBatis


프로젝트 주요 기능과 목적

  • 비즈플랫폼개발팀의 백엔드 프로젝트 아키텍처를 정의합니다.
  • 신규 프로젝트 진행 시, 해당 Template을 이용하여 구축합니다.

✨TDD을 기반으로 코딩되어야 합니다. ✨

✨직접 main 브랜치에 push 할 수 없습니다. ✨

✨Pull Request 를 통한 Squash Merge 가 기본이며, 예외는 없습니다. ✨


프로젝트 구조

img.png

의존관계

  • UI LayerService Layer만 의존해야한다.
  • Service LayerRepository Layer만 의존해야한다.
    • 예외) Application LayerInfrastructure Layer에 의존할 수도 있다.

계층별 구성

  • layeredarchitecture
    • Presentation Layer
      • Controller
    • Application Layer
      • Service
    • Domain
      • Entity
      • Domain
    • Infrastructure Layer
      • Repository
  • common
    • config
    • constants
    • dto
    • exception

설치 방법

  1. JDK 21 설치
  2. Git pull
  3. 어플리케이션 실행

API 명세서

http://localhost:8080/swagger-ui/index.html

API 문서 다운로드 (yaml) : http://localhost:8080/api-docs.yaml
API 문서 다운로드 (json) : http://localhost:8080/api-docs


라이브러리 정보

  • spring-boot-starter (3.3.1)
  • spring-boot-starter-web (3.3.1)
  • spring-boot-starter-data-jpa (3.3.1)
  • spring-boot-starter-test (3.3.1)
  • spring-boot-starter-validation (3.3.1)
  • springdoc-openapi-starter-webmvc-ui (2.6.0)
  • mybatis-spring-boot-starter (3.0.3)
  • lombok (latest)
  • h2 (2.2.224)
  • jjwt-api (0.11.5)
  • jjwt-impl (0.11.5)
  • jjwt-jackson (0.11.5)
  • mockito-core (5.11.0)
  • junit-jupiter (5.10.2)
  • junit-jupiter-engine (5.10.2)

About

팀내 back-end 표준 템플릿 레포지토리

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •