spring initailizr

web mysql lombok devtools mustache jpa h2
windows macios linux java intellij visualstudiocode eclipse
.gradle/
**/build/
.idea/
//한글화
Editor/FileEncoding: utf-8 x3
BED/BuildTools/Gradle = intellij x2
//어노테이션 활성화
BED/Compiler/AnnotationProcessors = Enable annotation processing
//가시성, 수정반영
editor/CodeStyle: unix ad macos
AdvancedSettings: allow auto ame to start
BED/compiler:build project automatically
// JPA 의존성 설정(ORM -- 자바 진영 --> JPA(스펙:인터페이스) --> 하이버 네이트
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
//test 코드용 롬복
testCompileOnly 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'
//
implementation 'org.springframework.boot:spring-boot-starter-mustache'
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.h2database:h2'
runtimeOnly 'com.mysql:mysql-connector-j'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
https://velog.io/@rmeos/스프링부트-서버환경설정
application.properties > application.yml 변경
application.yml 기본 서버환경
application-dev.yml 개발자용 서버환경
application-prod.yml 사용자용 서버환경
yml은 엄격한 코드규칙이 적용된다.
스페이스 2칸으로 계층을 결정한다
'tab 금지'