mirror of
https://github.com/Dannecron/spring-boot-demo.git
synced 2025-12-25 16:22:35 +03:00
add readme, fixate dependency versions
This commit is contained in:
@@ -22,27 +22,27 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api("org.springframework.boot:spring-boot-starter-data-jdbc")
|
api("org.springframework.boot:spring-boot-starter-data-jdbc:3.2.4")
|
||||||
|
|
||||||
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
||||||
implementation("org.flywaydb:flyway-core")
|
implementation("org.flywaydb:flyway-core:9.22.3")
|
||||||
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
implementation("org.jetbrains.kotlin:kotlin-reflect:2.0.20")
|
||||||
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json")
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
|
||||||
implementation("org.postgresql:postgresql")
|
implementation("org.postgresql:postgresql:42.6.2")
|
||||||
implementation("org.springframework.boot:spring-boot-starter-mustache")
|
implementation("org.springframework.boot:spring-boot-starter-mustache:3.2.4")
|
||||||
implementation("org.springframework.boot:spring-boot-starter-validation")
|
implementation("org.springframework.boot:spring-boot-starter-validation:3.2.4")
|
||||||
implementation("org.springframework.boot:spring-boot-starter-web")
|
implementation("org.springframework.boot:spring-boot-starter-web:3.2.4")
|
||||||
implementation("org.springframework.kafka:spring-kafka")
|
implementation("org.springframework.kafka:spring-kafka:3.1.3")
|
||||||
|
|
||||||
developmentOnly("org.springframework.boot:spring-boot-devtools")
|
developmentOnly("org.springframework.boot:spring-boot-devtools")
|
||||||
|
|
||||||
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
|
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5:2.0.20")
|
||||||
testImplementation("org.mockito.kotlin:mockito-kotlin:5.4.0")
|
testImplementation("org.mockito.kotlin:mockito-kotlin:5.4.0")
|
||||||
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
testImplementation("org.springframework.boot:spring-boot-starter-test:3.2.4")
|
||||||
testImplementation("org.springframework.kafka:spring-kafka-test")
|
testImplementation("org.springframework.kafka:spring-kafka-test:3.1.3")
|
||||||
testImplementation("org.testcontainers:junit-jupiter")
|
testImplementation("org.testcontainers:junit-jupiter:1.19.7")
|
||||||
testImplementation("org.testcontainers:testcontainers")
|
testImplementation("org.testcontainers:testcontainers:1.19.7")
|
||||||
testImplementation("org.testcontainers:postgresql")
|
testImplementation("org.testcontainers:postgresql:1.19.7")
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
|
|||||||
22
readme.md
Normal file
22
readme.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
## Spring boot application
|
||||||
|
|
||||||
|
Demo приложение для изучения языка `kotlin` и фреймворка `spring boot`.
|
||||||
|
|
||||||
|
## Требования
|
||||||
|
|
||||||
|
* `jdk` версии `17`
|
||||||
|
* `postgresql` версии `14`
|
||||||
|
* `kafka` без авторизации
|
||||||
|
* `docker` + `compose` (для тестов)
|
||||||
|
|
||||||
|
## Доступные команды
|
||||||
|
|
||||||
|
* Запуск тестов
|
||||||
|
```shell
|
||||||
|
./gradlew test
|
||||||
|
```
|
||||||
|
|
||||||
|
* запуск приложения
|
||||||
|
```shell
|
||||||
|
./gradlew bootRun
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user