2019-04-18 15:25:07 +09:00
2019-04-11 17:42:07 +09:00
2019-04-11 17:42:07 +09:00
2019-04-17 19:24:09 +09:00
2019-04-11 17:42:07 +09:00
2019-04-11 17:42:07 +09:00
2019-04-18 15:23:57 +09:00
2019-04-11 17:42:07 +09:00

Spring Rest Api 만들기 프로젝트

0. 개요

1. 개발환경

  • Java 8~11
  • SpringBoot 2.x
  • SpringSecurity 5.x
  • JPA, H2
  • Intellij Community

2. 프로젝트 실행

  • H2 database 설치
  • intellij lombok 플러그인 설치
    • Preferences -> Plugins -> Browse repositories... -> search lombok -> Install "IntelliJ Lombok plugin"
  • Enable annotation processing
    • Preferences - Annotation Procesors - Enable annotation processing 체크
  • build.gradle에 lombok 추가(Git을 받은경우 이미 추가되어있음)
    • compileOnly 'org.projectlombok:lombok:1.16.16'
  • 실행
    • Run -> SpringBootApiApplication
  • Swagger

3. 목차

Description
SpringBoot2, SpringSecurity, JWT, Stateless Restful API
Readme 278 KiB
Languages
Java 96.4%
Shell 3.1%
Fluent 0.5%