The backend for londogard.com, to be run on a Raspberry Pi 3B.
`mkdir texts &&
POST /smry
Input: {"text": string}
Output: {"result": string}
POST /billsplitter
Input: {"payments": [PostPayment]}
where PostPayment
is {"person": string, "amount": double}
Output: [PersonPayment]
where PersonPayment
is {"payer": string, "owed": string, "amount": double}
Smile: http://haifengl.github.io/smile/
KTOR: https://ktor.io/
SQLDelight: https://github.com/cashapp/sqldelight
Kotlinx: https://ktor.io/kotlinx/ (includes serialization and so on)
Koin: https://insert-koin.io/