Sourabh Rawat
Application
Tim Malseed
fun Application.installFeatures() { val application = this install(DefaultHeaders) install(CallLogging) install(MicrometerMetrics) { registry = LoggingMeterRegistry() //Log for now. only for testing phase. } install(ContentNegotiation) { serialization( json = Json( DefaultJsonConfiguration.copy( strictMode = false, prettyPrint = true ) ) ) } install(Koin) { val ktorModule = module { single { application } } slf4jLogger() modules(listOf(ktorModule, appModule)) } }
A modern programming language that makes developers happier.