add db interaction layer
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-04-04 23:21:17 +02:00
parent 97b5923c1e
commit af4307c6a4
11 changed files with 158 additions and 425 deletions

View File

@ -6,4 +6,9 @@ ktor {
application {
modules = [ com.kmalbz.ApplicationKt.module ]
}
}
db {
jdbcUrl = ${DB_URL} //jdbc:postgresql://localhost:${db_port}/${db_name}
dbUser = ${DB_USER}
dbPassword = ${DB_PASSWORD}
}
}