https://github.com/g-khan/spring-boot-kotlin-demo
Simple Spring Boot Kotlin Project with Spring Data & Docker
https://github.com/g-khan/spring-boot-kotlin-demo
docker kotlin spring-boot-kotlin
Last synced: 2 months ago
JSON representation
Simple Spring Boot Kotlin Project with Spring Data & Docker
- Host: GitHub
- URL: https://github.com/g-khan/spring-boot-kotlin-demo
- Owner: G-khan
- Created: 2020-12-29T20:08:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-19T19:12:05.000Z (over 3 years ago)
- Last Synced: 2025-04-18T03:29:52.392Z (2 months ago)
- Topics: docker, kotlin, spring-boot-kotlin
- Language: Kotlin
- Homepage:
- Size: 85.9 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Simple and Sample Spring Boot Kotlin Project
Dockerized demo project using Kotlin, Spring Boot, Embeded H2, JPA and Hibernate.
## Kotlin ile Backend/Server-side Programlama (Turkish)
[](https://www.youtube.com/watch?v=ovteP53wzpA)## Requirements
1. Java - 1.11.x
2. Gradle- 3.x.x
3. 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](http://localhost:8099/).
## Rest APIs
The app defines following for APIs.
GET /users?user=G-khan
POST /users
{
"name":"Gökhan",
"username":"G-khan"
}