Skip to content

Latest commit

 

History

History

spring-mvc-mybatis

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Spring Boot (Spring MVC and MyBatis) Sample Application

Run

Start PostgresSQL db container.

cd docker
docker comose up -d postgres

Build & Run.

./mvnw clean package
java -jar target/spring-mvc-mybatis-0.0.1-SNAPSHOT.jar

or

./mvnw spring-boot:run   

Default swagger url is http://localhost:18888/swagger-ui.html.

Run as Docker Container

Build docker image.

./mvnw compile jib:dockerBuild

Run PostgresSQL db and todo application container.

cd docker
docker compose up -d

Run Integration Tests with DB

 ./mvnw test -Dtest="*IT"