This is a simple web text editor built with Kotlin/JS and monaco editor.
The main purpose of this project is to try out Kotlin/JS.
- Clone the repository
- Navigate to directory where
build.gradle.kts
file is located and build the project using:
./gradlew build
- In one terminal, run the server part of the project using:
./gradlew run
- In a seperate terminal, run the client part of the project using:
./gradlew jsBrowserDevelopmentRun
- Server should start on
localhost:8080
and client onlocalhost:8081
The main logic of the server part is located in src/jvmMain/kotlin/org/example/application/Server.kt
The main logic of the client part is located in src/jsMain/kotlin/Client.kt