package Ġcom . jetbrains . hand son . http api Ċ Ċ import Ġcom . github . must ache java . Default Must ache Factory Ċ import Ġcom . jetbrains . hand son . http api . db . Database Factory Ċ import Ġcom . jetbrains . hand son . http api . routes . register Slave Routes Ċ import Ġio . ktor . application . Application Ċ import Ġio . ktor . application . install Ċ import Ġio . ktor . features . Content Neg otiation Ċ import Ġio . ktor . must ache . Must ache Ċ import Ġio . ktor . serialization . json Ċ import Ġorg . jetbrains . ex posed . sql . Database ĊĊ Ċ fun Ġmain ( args : ĠArray < String >): ĠUnit Ġ= Ġio . ktor . server . netty . Engine Main . main ( args ) Ċ Ċ fun ĠApplication . module ( testing : ĠBoolean Ġ= Ġfalse ) Ġ{ ĊĠĠĠ ĠDatabase Factory . init () ĊĊĊĠĠĠ Ġinstall ( Content Neg otiation ){ ĊĠĠĠĠĠĠĠ Ġjson () ĊĠĠĠ Ġ} ĊĠĠĠ Ġinstall ( Must ache ) Ġ{ ĊĠĠĠĠĠĠĠ Ġmust ache Factory Ġ= ĠDefault Must ache Factory (" templates ") ĊĠĠĠ Ġ} ĊĠĠĠ Ġregister Slave Routes () Ċ } Ċ