BookStore24는 도서판매 온라인서비스다. 이 서비스… 블라블라….
-
API: 웹 및 앱에서 자원(Resource)을 RESTful하게 사용할 수 있도록 제공
-
WEB: API를 호출하여 사용자에게 도서정보 제공
-
ADMIN: 도서정보, 유형 및 고객관리 백오피스
프로젝트 복제 및 빌드
$ git clone [email protected]:ihoneymon/tacademy-spring-boot.git
$ cd tacademy-spring-boot
$ ./gradlew clean build|
Note
|
정상적으로 빌드가 진행될 경우는 > Task :api:integrationTest
2018-09-09 22:21:40.369 INFO 19059 --- [ Thread-6] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@1f506371: startup date [Sun Sep 09 22:21:38 KST 2018]; root of context hierarchy
2018-09-09 22:21:40.371 INFO 19059 --- [ Thread-6] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2018-09-09 22:21:40.371 INFO 19059 --- [ Thread-6] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed drop of schema as part of SessionFactory shut-down'
2018-09-09 22:21:40.378 WARN 19059 --- [ Thread-6] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method failed on bean with name 'inMemoryDatabaseShutdownExecutor': org.h2.jdbc.JdbcSQLException: Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-197]
2018-09-09 22:21:40.378 INFO 19059 --- [ Thread-6] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2018-09-09 22:21:40.379 INFO 19059 --- [ Thread-6] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.8.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 7s
27 actionable tasks: 24 executed, 3 up-to-date
➜ tacademy-book-store git:(master) ✗와 같은 메시지를 볼 수 있다. |
$ cd api
$ java -jar build/libs/api-0.0.1-SNAPSHOT.jarAPI 실행확인
$ http -v GET localhost:8080/books