feat: add structure, plain data for testing, and api example endpoints

This commit is contained in:
Oliver Wallisch 2026-09-02 16:12:52 +02:00
parent 015dc20c9e
commit 27ff371d4e
143 changed files with 849 additions and 19 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
.gradle/file-system.probe Normal file

Binary file not shown.

12
.idea/dataSources.xml Normal file
View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="kidio_db@82.165.11.162" uuid="c8ad70de-d5fc-407a-9165-4f24328fa311">
<driver-ref>postgresql</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
<jdbc-url>jdbc:postgresql://82.165.11.162:5432/kidio_db</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
</component>
</project>

View file

@ -1,6 +1,7 @@
plugins { plugins {
alias(libs.plugins.kotlin.jvm) alias(libs.plugins.kotlin.jvm)
alias(ktorLibs.plugins.ktor) alias(ktorLibs.plugins.ktor)
kotlin("plugin.serialization") version "2.0.0"
} }
group = "com.oliver.kidio.backend" group = "com.oliver.kidio.backend"
@ -13,12 +14,21 @@ application {
kotlin { kotlin {
jvmToolchain(21) jvmToolchain(21)
} }
dependencies { dependencies {
implementation(ktorLibs.server.config.yaml) implementation(ktorLibs.server.config.yaml)
implementation(ktorLibs.server.core) implementation(ktorLibs.server.core)
implementation(ktorLibs.server.netty) implementation(ktorLibs.server.netty)
implementation(libs.logback.classic) implementation(libs.logback.classic)
// JSON-Unterstützung und Serialization
implementation("io.ktor:ktor-server-content-negotiation-jvm")
implementation("io.ktor:ktor-serialization-kotlinx-json-jvm")
//postgres
implementation("org.postgresql:postgresql:42.7.3")
implementation("org.jetbrains.exposed:exposed-core:0.50.0")
implementation("org.jetbrains.exposed:exposed-dao:0.50.0")
implementation("org.jetbrains.exposed:exposed-jdbc:0.50.0")
testImplementation(kotlin("test")) testImplementation(kotlin("test"))
testImplementation(ktorLibs.server.testHost) testImplementation(ktorLibs.server.testHost)
} }

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more