Hello! New to supabase. I'm writing an app with ko...
# supabase-kt
c
Hello! New to supabase. I'm writing an app with kotlin + compose multiplatform (ios and android). I see that the kotlin multiplatform community library is seemingly the goto library to use with kotlin multiplatform. Just wanted to see if anyone in this community was using it and whether or not there have been any major hurdles before I commit to it. Thank you in advance!
n
I’m just starting to use it (only postgres-kt for now) and I must admit that it’s been a flawless experience. Both on the library and the Supabase part. I have the same use case, btw, only adding a JS target too.
c
NOICE! Where are you hosting supabase for now (im an android dev so all of this is new to me)
"only adding a JS target too" what is your goal with the js target? building a website?
n
I'm using the hosted solution Supabase itself offers. The free tier is quite generous and, since I'm an Android dev mainly too, I dislike all the infrastructure fuzz. Yep! It's a website with Compose Multiplatform. It's JS for now but I'm planning to move to Wasm as soon as the ecosystem is more mature and all required libraries are targeting it.
c
niceeee. compose multiplatform with js! I thought compose multiplatform only supported wasm?
n
Wow, that's new for me, haha. I haven't started the web part yet so maybe I'll have to switch to Wasm 😅.
c
will only generate a web project with wasm
n
Yep, I saw that. But I really thought it was a matter of promoting the Wasm target. The Compose Multiplatform samples contain some references to JS: https://github.com/Kotlin/kotlin-wasm-examples/blob/main/compose-imageviewer%2FwebApp%2Fbuild.gradle.kts#L26 So I assumed it was going to work, but I didn't really dive into the code.
It's under the Wasm examples, though 😅
c
lol. i thought the js stuff was killed. but i definitely want to hear more about your project. sounds like you're a few weeks ahead of me 😅
n
Haha, I don't know, mate. I just recently started it. But it's true that the technology stack is making me go really fast. There's a client app targeting Android and iOS and an admin portal on web (JS or WASM). The business logic is shared and the UI components too. I'm using Slack Circuit, btw. I'm using Supabase as backend and this is the main reason for me to go super fast.
c
oooh. admin portal on web with wasm might be something i can get away with. but i think ill have to use react or something for the actual web app frontend
n
Why is that?
c
from what ive seen compose wasm is not ready for primetime yet
plus SEO is a big deal, and i think its like non-existent for wasm?
n
Never thought of SEO, tbh xD
c
@Alex Styl I think you had some thoughts around that, right?
j
Compose does support the JS target. Using it myself, haven't tried wasm yet.
👏 1
c
Interesting! Wonder why kmp.start.com doesn't have it