An example usage of Ktor.
The applications displays a list of conferences retrieved from https://androidstudygroup.github.io/conferences/
This repository accepts pull requests and all contributions are welcome!
You need to add Run/Debug configuration to Edit Configurations targetting main class com.ianarbuckle.conferencesapi.ApplicationKt
You can configure your port and your mongo URI in the application.conf
file
ktor {
deployment {
port = ${PORT}
}
application {
modules = [ com.ianarbuckle.conferencesapi.ApplicationKt.module ]
}
mongoUri = ${MONGO_URI}
}