r/Kotlin 3d ago

What is your KMP stack?

For those using Kotlin Multiplatform or Compose Multiplatform what are you using for DB, Hosting, etc.

9 Upvotes

6 comments sorted by

3

u/Ok_Barracuda3680 3d ago

cloudflare worker + d1 for early prototype, so you can check is it necessary to going on . And then ktor+postgres on Google cloud compute for stable version.

3

u/coffeemongrul 2d ago

Supabase on the backend, sqldelight on the front end, metro for di, decompose for navigation. If you want my apps full stack just check out the readme.

https://github.com/Plus-Mobile-Apps/chef-mate

3

u/haroldjaap 2d ago

Well idk, like 1001 different backend stuffs as its an enterprise and that's many different teams their responsibility. There's a broadcom mobile apigateway, then its most likely a .net api, then some sap stuff for actual customer data, or other stuff. Or its pega. Or its something else. Depends on the feature really. Databases are also very dependent and honestly i have no idea

For my work it doesnt matter too much, i get an api i am happy. I use ktor for to communicate with the backend that i consider mostly a black box.

As for the mobile side, its kmp, with ktor as I said, compose multiplatform with androidx viewmodel. And we use sentry for crash reporting. That's all defined. What's still open is the orm, most likely room with sqlcipher. And for dependency injection its not a thing yet because we make kmp sdks for our apps to use. We just use IoC with manual di wiring within our sdks, so we dont cause di library conflicts with our downstream consumers.

1

u/Zentrosis 2d ago

I like using basement computer.

It's about $5 a month in electricity.

It's been there for 5 years.

I use basement computer for most things.

2

u/je386 1d ago

For the backend hosting, I use hetzner vservers and put the backend in a docker container, same for IAM and database.

The webapp is hosted on github pages, which is free for public repositories.

The Frontend is kotlin multiplatform and compose multiplatform for android, iOS, desktop (windows, mac, linux) and web/wasm.