Real example of RESTful Service using Kotlin, Ktor, Kodein, Arrow-Kt, and Exposed with HikariCP, H2 & MySQL
Why?
Running locally
-
Start Docker on your machine.
-
Execute mysql_run script:
sudo ./scripts/mysql_run.sh
- Execute initial SQL scripts by running:
sudo ./scripts/init_local.sh