This repository contains a collection of examples demonstrating how to use Kotlin/JS in different use cases.
Each example includes the source code and a README.md
file explaining how to build and run the example.
Note: To know more about Kotlin/JS, see the Kotlin documentation.
These are the Kotlin/JS examples you can try:
- Sharing business logic between Spring and Angular — A petclinic showcase with sharing business logic (DTO, validations, REST interface) between Spring Boot and Angular applications using Kotlin Multiplatform
- Fullstack Conference CMS — This is a detailed example showing multiple approaches of code sharing from the simplest to all-in code sharing on Ktor, Jetpack Compose and Vue.js
- Todo App on Compose-based HTML framework — A simple Todo web application with a Compose-based framework (Kobweb)
- Sharing logic between Android, iOS and browser — A simple template project for business logic sharing between SwiftUI, Jetpack Compose and React applications
- Fullstack shopping list — A Ktor + React example fully in Kotlin (both frontend and backend)
Try the examples and share your feedback or questions in our #javascript Slack channel. Get a Slack invite. You can also share your comments with @rage_monk on X (Twitter).