Does exist any example project at github which sho...
# multiplatform
m
Does exist any example project at github which shows how to configure KMM project with compose including: • android • ios • desktop • web • backend ?
c
I made a template for Compose for iOS/Android/Desktop: https://github.com/CRamsan/minesweepers
Web is not present and recently we just go the new WASM based compose as a new target 🙂. YOu can see the example project here: https://github.com/Kotlin/kotlin-wasm-examples/tree/main/compose-imageviewer#compose-multiplatform-for-web
For Backend, do you want SSR with Compose?
a
m
What SSR does mean? I need simple setup where I would run server like Ktor.
a
Do you want a monorepo that has client-backend?
Shouldn't be separated?
c
SSR = Server Side Rendering If you want a backend, it would be a separate module/repo. Compose would not be involved in that.
m
@Alejandro Rios monorepo @CRamsan I will create one module for web with compose and separate module for server/backend.
c
Yes. If you want to distribute your compose website through your server, then the server will consume the build from the web module and expose it.