๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๊ฐœ๋ฐœ/Spring

Spring ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ (Gradle)

  • java jdk ์„ค์น˜
  • Intelli J ์„ค์น˜

ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ

https://start.spring.io/

 

๋” ๋น ๋ฅธ ๋นŒ๋“œ๋ฅผ ์œ„ํ•ด

build and run using ๊ณผ run tests using์„ intelli j ๋กœ ๋ณ€๊ฒฝ

๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ

spring boot

  • spring-boot-starter-web
    • spring-boot-starteer-tomcat
    • spring-webmvc
  • spring-boot-starter-thymeleaf
  • spring-boot-starter
    • spring-boot
      • spring-core
    • spring-boot-starter-logging
      • logback, slf4j

test

  • spring-boot-starter-test
    • junit 
    • mockito
    • assertj
    • spring-test

 

๋นŒ๋“œ ๋ฐฉ๋ฒ•

ํ”„๋กœ์ ํŠธ ํด๋”์—์„œ ./gradlew build
build > libs > hello-spring-0.0.1-SNAPSHOT.jar ํŒŒ์ผ ํ™•์ธ
java -jar hello-spring-0.0.1-SNAPSHOT.jar ์‹คํ–‰
๋ฐ˜์‘ํ˜•

'๊ฐœ๋ฐœ > Spring' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

domain, entity, dao, dto, vo ??  (0) 2022.05.06
์Šคํ”„๋ง ์›น ๊ฐœ๋ฐœ ๋ฐฉ์‹ (static / MVC / API)  (0) 2022.03.03
ZonedDateTime (UTC -> KST)  (0) 2022.02.23
Spring ํ†ตํ•ฉ ํ…Œ์ŠคํŠธ - JUnit5  (0) 2022.02.21
GraphQL (spring)  (0) 2021.12.18