Dockerized demo project using Kotlin, Spring Boot, Embeded H2, JPA and Hibernate.
- Java - 1.11.x
- Gradle- 3.x.x
- Docker- 5.x.x
Running the App Type the following command in your terminal to run the app -
./gradlew bootRun
Build and Run with Docker Build the project with gradle:
./gradlew build
Build Docker and run docker with docker-compose
docker build . -t spring-boot-kotlin-demo
docker-compose up -d
The app will start running at http://localhost:8099.
The app defines following for APIs.
GET /users?user=G-khan
POST /users
{
"name":"Gökhan",
"username":"G-khan"
}