feature #6: implement PostgresJson

add Article, Citien and User Entities
implement Article.findById()
This commit is contained in:
2019-07-30 23:18:10 +02:00
parent 358c3edb0e
commit ea835d8e9a
16 changed files with 246 additions and 44 deletions

View File

@@ -4,6 +4,8 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
val ktor_version: String by project
val kotlin_version: String by project
val logback_version: String by project
val koinVersion: String by project
val postgresjson_version: String by project
plugins {
application
@@ -32,6 +34,8 @@ dependencies {
compile("io.ktor:ktor-auth:$ktor_version")
compile("io.ktor:ktor-auth-jwt:$ktor_version")
compile("io.ktor:ktor-gson:$ktor_version")
compile("org.koin:koin-ktor:$koinVersion")
compile("fr.postgresjson:postgresjson:$postgresjson_version")
testCompile("io.ktor:ktor-server-tests:$ktor_version")
}